Remove extra braces

This commit is contained in:
Benjamin Bender 2013-03-27 23:21:04 +01:00
parent fd17706118
commit 11a56251a4

View File

@ -102,7 +102,7 @@ class ApiDocExtractor
$resources = array(); $resources = array();
foreach ($routes as $route) { 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))); throw new \InvalidArgumentException(sprintf('All elements of $routes must be instances of Route. "%s" given', gettype($route)));
} }