the $identities property is correctly declared as nullable array:
|
private ?array $identities = null; |
However, in several places, we directly assign null like these:
|
public function setIdentities(array $identities): void |
|
$this->identities = null; |
TypeError: CodeIgniter\Shield\Entities\User::setIdentities(): Argument 1 ($identities) must be of type array, null given,