Skip to content

Commit 4f91584

Browse files
authored
Merge pull request #38 from mpociot/analysis-XprQEo
Applied fixes from StyleCI
2 parents 8b72eae + 7c6c02f commit 4f91584

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/Mpociot/ApiDoc/Generators/AbstractGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract protected function getUri($route);
2222
* @param \Illuminate\Routing\Route $route
2323
* @param array $bindings
2424
* @param bool $withResponse
25-
*
25+
*
2626
* @return array
2727
*/
2828
abstract public function processRoute($route, $bindings = [], $withResponse = true);

src/Mpociot/ApiDoc/Generators/DingoGenerator.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,20 @@ class DingoGenerator extends AbstractGenerator
1010
* @param \Illuminate\Routing\Route $route
1111
* @param array $bindings
1212
* @param bool $withResponse
13-
*
13+
*
1414
* @return array
1515
*/
1616
public function processRoute($route, $bindings = [], $withResponse = true)
1717
{
1818
$response = '';
19-
19+
2020
if ($withResponse) {
2121
try {
2222
$response = $this->getRouteResponse($route, $bindings);
23-
} catch (Exception $e) {}
23+
} catch (Exception $e) {
24+
}
2425
}
25-
26+
2627
$routeAction = $route->getAction();
2728
$routeGroup = $this->getRouteGroup($routeAction['uses']);
2829
$routeDescription = $this->getRouteDescription($routeAction['uses']);

0 commit comments

Comments
 (0)