Skip to content

Commit 5b799a1

Browse files
committedAug 6, 2021
up: abstruct obj config can be empty
Signed-off-by: inhere <[email protected]>
1 parent d42729c commit 5b799a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Obj/AbstractObj.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abstract class AbstractObj
1919
*
2020
* @param array $config
2121
*/
22-
public function __construct(array $config)
22+
public function __construct(array $config = [])
2323
{
2424
Obj::init($this, $config);
2525
}

0 commit comments

Comments
 (0)