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
@trigger_error(sprintf('Passing the "$properties" argument as 4th argument of "%s" is deprecated since API Platform 2.5 and will not be possible anymore in API Platform 3. Pass the new "$existsParameterName" argument as 4th argument and the old "$properties" argument as 5th argument instead.', __CLASS__), E_USER_DEPRECATED);
57
-
$properties = $fourthArgument;
58
-
} elseif (\is_string($fourthArgument)) {
59
-
$existsParameterName = $fourthArgument;
60
-
} else {
61
-
thrownewInvalidArgumentException(sprintf('The "$existsParameterName" argument of "%s" is expected to be a string.', __CLASS__));
62
-
}
63
-
}
64
-
65
-
if ($funcNumArgs > 4) {
66
-
$fifthArgument = func_get_arg(4);
67
-
if (null === $fifthArgument || \is_array($fifthArgument)) {
68
-
$properties = $fifthArgument;
69
-
} else {
70
-
thrownewInvalidArgumentException(sprintf('The "$properties" argument of "%s" is expected to be an array or null.', __CLASS__));
0 commit comments