You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// convert members of the array to the correct type if not a standard type
130
+
if ($convertToObjects && ! \is_object($element))
131
+
{
132
+
$value[$index] = new$arrayType($element);
133
+
134
+
continue;
135
+
}
136
+
128
137
if ($arrayType != $elementType)
129
138
{
130
-
thrownew \PHPFUI\ConstantContact\Exception\InvalidType(static::class . "::{$field} should be an array<{$arrayType}> but index {$index} is of type {$elementType}");
139
+
thrownew \PHPFUI\ConstantContact\Exception\InvalidType(static::class . "::{$field} should be an array[{$arrayType}] but index {$index} is of type {$elementType}");
0 commit comments