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.
2 parents f95b2f1 + c52ac6c commit 03b4b39Copy full SHA for 03b4b39
Routing/Loader/Reader/RestActionReader.php
@@ -265,7 +265,7 @@ private function isMethodReadable(\ReflectionMethod $method)
265
$hasNoRouteMethod = (bool) $this->readMethodAnnotation($method, 'NoRoute');
266
$hasNoRouteClass = (bool) $this->readClassAnnotation($method->getDeclaringClass(), 'NoRoute');
267
268
- $hasNoRoute = $hasNoRoute = $hasNoRouteMethod || $hasNoRouteClass;
+ $hasNoRoute = $hasNoRouteMethod || $hasNoRouteClass;
269
// since NoRoute extends Route we need to exclude all the method NoRoute annotations
270
$hasRoute = (bool) $this->readMethodAnnotation($method, 'Route') && !$hasNoRouteMethod;
271
0 commit comments