An Phan 6 år sedan
förälder
incheckning
f831c7528e
1 ändrade filer med 3 tillägg och 2 borttagningar
  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;
         }