Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Conversation

@tdomy
Copy link

@tdomy tdomy commented Jul 16, 2022

In PHP 8.1, PHP internal classes were updated with tentative return types.
So I added return types to prevent the following types of warnings.

Deprecated: Return type of MStaack\LaravelPostgis\Geometries\GeometryCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /work/laravel-postgis/src/Geometries/GeometryCollection.php on line 72

@mstaack
Copy link
Owner

mstaack commented Jul 17, 2022

Nice

@mstaack mstaack merged commit 8e9ac21 into mstaack:master Jul 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants