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
When running an application with PHP 8.1, these deprecation message are shown, since the plugin requires php >=7.2 and mixed type was added only at PHP 8, the best solution is to add the #[\ReturnTypeWillChange] for each method. What do you say?
[Deprecated (8192) ](javascript:void(0);): Return type of MiniAsset\AssetCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /app/vendor/markstory/mini-asset/src/AssetCollection.php, line 142]
[Deprecated (8192) ](javascript:void(0);): Return type of MiniAsset\AssetCollection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /app/vendor/markstory/mini-asset/src/AssetCollection.php, line 167]
[Deprecated (8192) ](javascript:void(0);): Return type of MiniAsset\AssetCollection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /app/vendor/markstory/mini-asset/src/AssetCollection.php, line 152]
[Deprecated (8192) ](javascript:void(0);): Return type of MiniAsset\AssetCollection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /app/vendor/markstory/mini-asset/src/AssetCollection.php, line 157]
[Deprecated (8192) ](javascript:void(0);): Return type of MiniAsset\AssetCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /app/vendor/markstory/mini-asset/src/AssetCollection.php, line 162]
[Deprecated (8192) ](javascript:void(0);): Return type of MiniAsset\AssetCollection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /app/vendor/markstory/mini-asset/src/AssetCollection.php, line 147]
The text was updated successfully, but these errors were encountered:
When running an application with PHP 8.1, these deprecation message are shown, since the plugin requires php >=7.2 and mixed type was added only at PHP 8, the best solution is to add the #[\ReturnTypeWillChange] for each method. What do you say?
The text was updated successfully, but these errors were encountered: