We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9304c6b commit 4d107c2Copy full SHA for 4d107c2
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