Skip to content

Commit da3cf77

Browse files
authored
Merge pull request #319 from mpociot/analysis-XpdxMa
Apply fixes from StyleCI
2 parents a6de40a + 52b48eb commit da3cf77

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/Mpociot/ApiDoc/Generators/AbstractGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function processRoute($route, $bindings = [], $headers = [], $withRespons
8282
$content = $response->getContent();
8383
}
8484
} catch (\Exception $e) {
85-
dump("Couldn't get response for route: ".implode(',', $this->getMethods($route)).'] '.$route->uri()."", $e);
85+
dump("Couldn't get response for route: ".implode(',', $this->getMethods($route)).'] '.$route->uri().'', $e);
8686
}
8787
}
8888

src/Mpociot/ApiDoc/Generators/DingoGenerator.php

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

33
namespace Mpociot\ApiDoc\Generators;
44

5-
65
class DingoGenerator extends AbstractGenerator
76
{
87
/**

src/Mpociot/ApiDoc/Generators/LaravelGenerator.php

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

33
namespace Mpociot\ApiDoc\Generators;
44

5-
use Exception;
65
use ReflectionClass;
76
use League\Fractal\Manager;
87
use Illuminate\Routing\Route;

tests/ApiDocGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public function testCanParseResponseTag()
355355
$this->assertTrue(is_array($parsed));
356356
$this->assertArrayHasKey('showresponse', $parsed);
357357
$this->assertTrue($parsed['showresponse']);
358-
$this->assertJsonStringEqualsJsonString(json_decode($parsed['response'], true), "{ \"data\": []}");
358+
$this->assertJsonStringEqualsJsonString(json_decode($parsed['response'], true), '{ "data": []}');
359359
}
360360

361361
public function testCanParseTransformerTag()

0 commit comments

Comments
 (0)