Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored and StyleCIBot committed Sep 11, 2018
1 parent a6de40a commit 52b48eb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mpociot/ApiDoc/Generators/AbstractGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function processRoute($route, $bindings = [], $headers = [], $withRespons
$content = $response->getContent();
}
} catch (\Exception $e) {
dump("Couldn't get response for route: ".implode(',', $this->getMethods($route)).'] '.$route->uri()."", $e);
dump("Couldn't get response for route: ".implode(',', $this->getMethods($route)).'] '.$route->uri().'', $e);
}
}

Expand Down
1 change: 0 additions & 1 deletion src/Mpociot/ApiDoc/Generators/DingoGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Mpociot\ApiDoc\Generators;


class DingoGenerator extends AbstractGenerator
{
/**
Expand Down
1 change: 0 additions & 1 deletion src/Mpociot/ApiDoc/Generators/LaravelGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Mpociot\ApiDoc\Generators;

use Exception;
use ReflectionClass;
use League\Fractal\Manager;
use Illuminate\Routing\Route;
Expand Down
2 changes: 1 addition & 1 deletion tests/ApiDocGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public function testCanParseResponseTag()
$this->assertTrue(is_array($parsed));
$this->assertArrayHasKey('showresponse', $parsed);
$this->assertTrue($parsed['showresponse']);
$this->assertJsonStringEqualsJsonString(json_decode($parsed['response'], true), "{ \"data\": []}");
$this->assertJsonStringEqualsJsonString(json_decode($parsed['response'], true), '{ "data": []}');
}

public function testCanParseTransformerTag()
Expand Down

0 comments on commit 52b48eb

Please sign in to comment.