Skip to content

Commit

Permalink
Merge pull request #319 from mpociot/analysis-XpdxMa
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
mpociot authored Sep 11, 2018
2 parents a6de40a + 52b48eb commit da3cf77
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 da3cf77

Please sign in to comment.