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
if (isset($config['resource']) && isset($config['path'])) {
218
-
thrownew \InvalidArgumentException(sprintf(
219
-
'The routing file "%s" must not specify both the "resource" key and the "path" key for "%s". Choose between an import and a route definition.',
220
-
$path, $name
221
-
));
215
+
thrownew \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "resource" key and the "path" key for "%s". Choose between an import and a route definition.', $path, $name));
222
216
}
223
217
if (!isset($config['resource']) && isset($config['type'])) {
224
-
thrownew \InvalidArgumentException(sprintf(
225
-
'The "type" key for the route definition "%s" in "%s" is unsupported. It is only available for imports in combination with the "resource" key.',
226
-
$name, $path
227
-
));
218
+
thrownew \InvalidArgumentException(sprintf('The "type" key for the route definition "%s" in "%s" is unsupported. It is only available for imports in combination with the "resource" key.', $name, $path));
228
219
}
229
220
if (!isset($config['resource']) && !isset($config['path'])) {
230
-
thrownew \InvalidArgumentException(sprintf(
231
-
'You must define a "path" for the route "%s" in file "%s".',
232
-
$name, $path
233
-
));
221
+
thrownew \InvalidArgumentException(sprintf('You must define a "path" for the route "%s" in file "%s".', $name, $path));
0 commit comments