Issue Task Closed

#104270Avoid implicitly nullable class method parameter in `EXT:opendocs`

Stefan Bürk 06/30/24, 12:42 updated 07/09/24, 15:39

Description

With PHP 8.4 marking method parameter implicitly nullable
is deprecated and will emit a `E_DEPRECATED` warning. One
recommended way to resolve this, is making it explicitly
nullable using the `?` nullable operator or adding a null
type to an union type definition. [1]

This prepares the way towards PHP 8.4 compatibility.

[1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

Reviews 1