@@ -57,7 +57,6 @@ public function processRoute(Route $route, array $rulesToApply = [])
5757 $ controller = new ReflectionClass ($ class );
5858 $ method = $ controller ->getMethod ($ method );
5959
60-
6160 $ docBlock = $ this ->parseDocBlock ($ method );
6261 list ($ routeGroupName , $ routeGroupDescription , $ routeTitle ) = $ this ->getRouteGroup ($ controller , $ docBlock );
6362 $ bodyParameters = $ this ->getBodyParameters ($ method , $ docBlock ['tags ' ]);
@@ -278,7 +277,7 @@ protected function parseDocBlock(ReflectionMethod $method)
278277 protected function getRouteGroup (ReflectionClass $ controller , array $ methodDocBlock )
279278 {
280279 // @group tag on the method overrides that on the controller
281- if (!empty ($ methodDocBlock ['tags ' ])) {
280+ if (! empty ($ methodDocBlock ['tags ' ])) {
282281 foreach ($ methodDocBlock ['tags ' ] as $ tag ) {
283282 if ($ tag ->getName () === 'group ' ) {
284283 $ routeGroupParts = explode ("\n" , trim ($ tag ->getContent ()));
@@ -304,6 +303,7 @@ protected function getRouteGroup(ReflectionClass $controller, array $methodDocBl
304303 if (empty ($ methodDocBlock ['short ' ])) {
305304 return [$ routeGroupName , '' , $ routeGroupDescription ];
306305 }
306+
307307 return [$ routeGroupName , $ routeGroupDescription , $ methodDocBlock ['short ' ]];
308308 }
309309 }
0 commit comments