We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e3697f + c50d764 commit 8872c3bCopy full SHA for 8872c3b
Tests/Fixtures/CustomArrayObject.php
@@ -19,7 +19,7 @@ class CustomArrayObject implements \ArrayAccess, \IteratorAggregate, \Countable
19
{
20
private $array;
21
22
- public function __construct(array $array = null)
+ public function __construct(?array $array = null)
23
24
$this->array = $array ?: [];
25
}
0 commit comments