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 6f1d53b + 4d107c2 commit c50d764Copy full SHA for c50d764
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