File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 22
33namespace Mpociot \ApiDoc \Commands ;
44
5- use Mpociot \ApiDoc \Tools \Utils ;
65use ReflectionClass ;
76use ReflectionException ;
87use Illuminate \Routing \Route ;
98use Illuminate \Console \Command ;
9+ use Mpociot \ApiDoc \Tools \Utils ;
1010use Mpociot \Reflection \DocBlock ;
1111use Illuminate \Support \Collection ;
1212use Illuminate \Support \Facades \URL ;
@@ -237,9 +237,9 @@ private function isValidRoute(Route $route)
237237 /**
238238 * @param $action
239239 *
240- * @return bool
241- *@throws ReflectionException
240+ * @throws ReflectionException
242241 *
242+ * @return bool
243243 */
244244 private function isRouteVisibleForDocumentation ($ action )
245245 {
Original file line number Diff line number Diff line change @@ -19,15 +19,14 @@ public static function getRouteActionUses(array $action): ?array
1919 if ($ action ['uses ' ] !== null ) {
2020 if (is_array ($ action ['uses ' ])) {
2121 return $ action ['uses ' ];
22- }
23- elseif (is_string ($ action ['uses ' ])) {
22+ } elseif (is_string ($ action ['uses ' ])) {
2423 return explode ('@ ' , $ action ['uses ' ]);
2524 }
2625 }
2726 if (array_key_exists (0 , $ action ) && array_key_exists (1 , $ action )) {
2827 return [
2928 0 => $ action [0 ],
30- 1 => $ action [1 ]
29+ 1 => $ action [1 ],
3130 ];
3231 }
3332
You can’t perform that action at this time.
0 commit comments