You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return type of Alchemy\BinaryDriver\Configuration::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool
#875
Open
alesusgit opened this issue
Aug 31, 2022
· 1 comment
· May be fixed by #900
Currently I got an error: <b>Fatal error</b>: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Alchemy\BinaryDriver\Configuration::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 vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php:79
Expected Behavior
Error should not appear
Steps to Reproduce
All you have to do is use FFMpeg like this: $probe = FFMpeg::create()->open($mediaUrl);
Possible Solutions
Quick solution is to add comment #[\ReturnTypeWillChange] before each function in file vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php
The text was updated successfully, but these errors were encountered:
Actual Behavior
Currently I got an error:
<b>Fatal error</b>: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Alchemy\BinaryDriver\Configuration::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 vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php:79
Expected Behavior
Error should not appear
Steps to Reproduce
All you have to do is use FFMpeg like this:
$probe = FFMpeg::create()->open($mediaUrl);
Possible Solutions
Quick solution is to add comment
#[\ReturnTypeWillChange]
before each function in filevendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php
The text was updated successfully, but these errors were encountered: