[wp-trac] [WordPress Trac] #60089: On PHP 8.2 notice: FS_Key_Value_Storage::offsetGet($k)
WordPress Trac
noreply at wordpress.org
Sun Dec 17 18:31:00 UTC 2023
#60089: On PHP 8.2 notice: FS_Key_Value_Storage::offsetGet($k)
--------------------------+-----------------------------
Reporter: nurielmeni | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
On PHP 8.0, no notice is shown.
on 8.2 this is the error:
Return type of FS_Key_Value_Storage::offsetGet($k) should either be
compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
#[\ReturnTypeWillChange]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60089>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list