Skip to content

Prevent deprecation warning#75

Merged
janlam7 merged 1 commit intohostnet:masterfrom
janlam7:ReturnTypeWillChange
Oct 30, 2023
Merged

Prevent deprecation warning#75
janlam7 merged 1 commit intohostnet:masterfrom
janlam7:ReturnTypeWillChange

Conversation

@janlam7
Copy link
Copy Markdown
Contributor

@janlam7 janlam7 commented Jul 27, 2023

Prevent warnings like

Deprecated: Return type of Hostnet\Component\AccessorGenerator\Collection\ImmutableCollection::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

@janlam7 janlam7 self-assigned this Jul 27, 2023
Comment thread src/Collection/ImmutableCollection.php Outdated
@janlam7 janlam7 force-pushed the ReturnTypeWillChange branch from 11febb0 to 5299388 Compare July 27, 2023 13:43
@janlam7 janlam7 merged commit 048b0a7 into hostnet:master Oct 30, 2023
@janlam7 janlam7 deleted the ReturnTypeWillChange branch October 30, 2023 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants