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;
         }