Deprecated 8.1
Hello;
I am getting such an error.
can you help me ?
Deprecated: Return type of Minwork\Helper\ArrObj::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in/libraries/minwork/ArrObj.php on line 299
Deprecated: Return type of Minwork\Helper\ArrObj::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /libraries/minwork/ArrObj.php on line 277
Deprecated: Return type of Minwork\Helper\ArrObj::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /libraries/minwork/ArrObj.php on line 282
Deprecated: Return type of Minwork\Helper\ArrObj::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /libraries/minwork/ArrObj.php on line 287
Deprecated: Return type of Minwork\Helper\ArrObj::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in //libraries/minwork/ArrObj.php on line 292
Deprecated: Return type of Minwork\Helper\ArrObj::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /libraries/minwork/ArrObj.php on line 304
Hey, I've tried to resolve this issue by adjusting types in ArrObj but it requires more work to bring back tests to live and at the same time make everything backward compatible to at least PHP 7.3.
If you like you can further work on it in #6.
I am no longer using PHP so I won't be able to spend more time fixing that, but any contribution in solving this problem is welcome and will be merged as long as it make all tests pass.
thank u very much..