Skip to content

Commit 8b36c04

Browse files
committed
Fix: Implicitly marking parameter $arr as nullable is deprecated
1 parent b4adab4 commit 8b36c04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @param array|null $arr Original Array
99
* @return Raggitech\DotArray\DotArray
1010
*/
11-
function dot(array $arr = NULL)
11+
function dot(?array $arr = NULL)
1212
{
1313
return new DotArray($arr);
1414
}

0 commit comments

Comments
 (0)