Skip to content

Commit 03b4b39

Browse files
committed
Merge pull request #1279 from FriendsOfSymfony/TYPO
Fix a typo
2 parents f95b2f1 + c52ac6c commit 03b4b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Routing/Loader/Reader/RestActionReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private function isMethodReadable(\ReflectionMethod $method)
265265
$hasNoRouteMethod = (bool) $this->readMethodAnnotation($method, 'NoRoute');
266266
$hasNoRouteClass = (bool) $this->readClassAnnotation($method->getDeclaringClass(), 'NoRoute');
267267

268-
$hasNoRoute = $hasNoRoute = $hasNoRouteMethod || $hasNoRouteClass;
268+
$hasNoRoute = $hasNoRouteMethod || $hasNoRouteClass;
269269
// since NoRoute extends Route we need to exclude all the method NoRoute annotations
270270
$hasRoute = (bool) $this->readMethodAnnotation($method, 'Route') && !$hasNoRouteMethod;
271271

0 commit comments

Comments
 (0)