This commit is contained in:
2021-07-13 18:03:08 +08:00
parent 3009c3fcf0
commit 68e331a960
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class Snowflake
* @throws ReflectionException
* @throws Exception
*/
public static function createObject($className, $construct = []): mixed
public static function createObject($className, array $construct = []): mixed
{
if (is_object($className)) {
return $className;