Skip to content

Using null as an array offset is deprecated #227

Description

@plusminmax

$setup["history"] = $this->history[$setup["source"]["path"]] ?? [];

Trying to access array offset on null
return isset($this->sources[$id]) ? $this->sources[$id] : null;

Activity

  1. added a commit that references this issue on Dec 15, 2025
    ae60b9a
  2. added a commit that references this issue on Jan 12, 2026
    9138441
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions