mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-03 22:03:33 +03:00
Remove extra braces
This commit is contained in:
parent
fd17706118
commit
11a56251a4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class ApiDocExtractor
|
|||
$resources = array();
|
||||
|
||||
foreach ($routes as $route) {
|
||||
if (!($route instanceof Route)) {
|
||||
if (!$route instanceof Route) {
|
||||
throw new \InvalidArgumentException(sprintf('All elements of $routes must be instances of Route. "%s" given', gettype($route)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue