An Phan пре 6 година
родитељ
комит
f831c7528e
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      src/Commands/GenerateDocumentation.php

+ 3 - 2
src/Commands/GenerateDocumentation.php

@@ -215,15 +215,16 @@ class GenerateDocumentation extends Command
     /**
      * @param $route
      *
-     * @return bool
      * @throws ReflectionException
+     *
+     * @return bool
      */
     private function isRouteVisibleForDocumentation($route)
     {
         list($class, $method) = explode('@', $route);
         $reflection = new ReflectionClass($class);
 
-        if (!$reflection->hasMethod($method)) {
+        if (! $reflection->hasMethod($method)) {
             return false;
         }