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
Stash cache from version 0.17.0+ and later require PHP 7+, but there are union type declaration
which is available as of PHP 8.0.0.
This lead to syntax error in PHP 7+ environments!
Due to difference in SessionInterfaceHandler interface in PHP 7.x and PHP 8+
gc method return type was ommited and suppressed warning as PHP 8+
It's better for future to make different version of Stash for PHP 7.x and PHP 8+
Minor change was made also to remove cmpatibility with PHP version before 5.4.0
while Stash package is compatible with 7+.
Stash cache from version 0.17.0+ and later require PHP 7+, but there are union type declaration
which is available as of PHP 8.0.0.
This lead to syntax error in PHP 7+ environments!
Stash/src/Stash/Session.php
Line 229 in a2c9df1
I suggest to use
mixed
return type and update PHP doc header.The text was updated successfully, but these errors were encountered: