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 fac1412 commit c413c5cCopy full SHA for c413c5c
Server.php
@@ -133,7 +133,7 @@ static public function toArray($value)
133
134
// if not valid array and check if array is greater than one element
135
if(!self::isNotValidArray($value) && count($value) === 1){
136
- if(!self::isNotValidArray($value[0])){
+ if(!self::isNotValidArray($value[0] ?? $value)){
137
return $value;
138
}
139
0 commit comments