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
thrownew \TypeError(\sprintf('The "alias" argument of the Route attribute must be a string or an array of strings, but got "%s".', \get_debug_type($a)));
75
-
}
76
-
}
77
-
}
78
72
$this->setAliases($alias);
79
73
80
74
if (null !== $locale) {
@@ -219,8 +213,20 @@ public function getAliases(): array
219
213
return$this->aliases;
220
214
}
221
215
216
+
/**
217
+
* @param list<string>|string $aliases
218
+
*
219
+
* @throws InvalidArgumentException if the "alias" argument is not a string or an array of strings
thrownewInvalidArgumentException(\sprintf('The "alias" argument of the Route attribute must be a string or an array of strings. Got "%s".', \get_debug_type($a)));
0 commit comments