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.
1 parent f59fce3 commit efdb708Copy full SHA for efdb708
src/Dot.php
@@ -22,7 +22,7 @@ class Dot implements ArrayAccess
22
*/
23
public function __construct(array $data = null)
24
{
25
- if ($data !== null) {
+ if (is_array($data)) {
26
$this->data = $data;
27
}
28
0 commit comments