Skip to content

Commit efdb708

Browse files
authored
Minor fixes.
1 parent f59fce3 commit efdb708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Dot implements ArrayAccess
2222
*/
2323
public function __construct(array $data = null)
2424
{
25-
if ($data !== null) {
25+
if (is_array($data)) {
2626
$this->data = $data;
2727
}
2828
}

0 commit comments

Comments
 (0)