Skip to content

PHP 8.5 | CallRerouting: Using null as an array offset is deprecated #179

@swissspidy

Description

@swissspidy

Getting deprecation warnings for the following lines:

$routes = &State::$routes[null][$function];

if (!isset(State::$routes[$class][$method])) {

return array_reverse(State::$routes[$class][$method], true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions