An Phan 6 anni fa
parent
commit
f831c7528e
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  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;
         }