Skip to content

Commit 6f48270

Browse files
committed
StyleCI fixes
1 parent 3fab289 commit 6f48270

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Tools/ResponseResolver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Mpociot\ApiDoc\Tools;
44

5-
use Illuminate\Http\JsonResponse;
65
use Illuminate\Routing\Route;
6+
use Illuminate\Http\JsonResponse;
77
use Mpociot\ApiDoc\Tools\ResponseStrategies\ResponseTagStrategy;
88
use Mpociot\ApiDoc\Tools\ResponseStrategies\ResponseCallStrategy;
99
use Mpociot\ApiDoc\Tools\ResponseStrategies\ResponseFileStrategy;
@@ -66,6 +66,7 @@ private function resolve(array $tags, array $routeProps)
6666
* @param $route
6767
* @param $tags
6868
* @param $routeProps
69+
*
6970
* @return array
7071
*/
7172
public static function getResponse($route, $tags, $routeProps)

tests/Unit/GeneratorTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function can_parse_response_tag_with_status_code()
195195
$this->assertTrue(is_array($response));
196196
$this->assertEquals(422, $response['status']);
197197
$this->assertArraySubset([
198-
'message' => 'Validation error'
198+
'message' => 'Validation error',
199199
], json_decode($response['content'], true));
200200
}
201201

@@ -220,7 +220,7 @@ public function can_parse_multiple_response_tags()
220220
$this->assertTrue(is_array($parsed['response'][1]));
221221
$this->assertEquals(401, $parsed['response'][1]['status']);
222222
$this->assertArraySubset([
223-
'message' => 'Unauthorized'
223+
'message' => 'Unauthorized',
224224
], json_decode($parsed['response'][1]['content'], true));
225225
}
226226

0 commit comments

Comments
 (0)