odata-client-php icon indicating copy to clipboard operation
odata-client-php copied to clipboard

PHP v8.1: Deprecated: Return type of SaintSystems\OData\Entity::offsetExists($offset) should either be compatible with

Open Axent96 opened this issue 3 years ago • 1 comments
trafficstars

Deprecated: Return type of SaintSystems\OData\Entity::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

Axent96 avatar Jan 17 '22 20:01 Axent96

more messages:

  • Deprecated: Return type of SaintSystems\OData\Entity::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/saintsystems/odata-client/src/Entity.php on line 819
  • Deprecated: Return type of SaintSystems\OData\Entity::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 .../vendor/saintsystems/odata-client/src/Entity.php on line 830
  • Deprecated: Return type of SaintSystems\OData\Entity::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../vendor/saintsystems/odata-client/src/Entity.php on line 842
  • Deprecated: Return type of SaintSystems\OData\Entity::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../vendor/saintsystems/odata-client/src/Entity.php on line 853

Axent96 avatar Feb 07 '22 11:02 Axent96

I created a pull request to fix the issues: https://github.com/saintsystems/odata-client-php/pull/113

cslevy avatar Nov 15 '22 16:11 cslevy

Closed by #113

anderly avatar Feb 10 '23 01:02 anderly