mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-22 12:37:38 +08:00
Merge pull request #319 from mpociot/analysis-XpdxMa
Apply fixes from StyleCI
This commit is contained in:
@@ -82,7 +82,7 @@ abstract class AbstractGenerator
|
||||
$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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Mpociot\ApiDoc\Generators;
|
||||
|
||||
|
||||
class DingoGenerator extends AbstractGenerator
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Mpociot\ApiDoc\Generators;
|
||||
|
||||
use Exception;
|
||||
use ReflectionClass;
|
||||
use League\Fractal\Manager;
|
||||
use Illuminate\Routing\Route;
|
||||
|
||||
@@ -355,7 +355,7 @@ class ApiDocGeneratorTest extends TestCase
|
||||
$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()
|
||||
|
||||
Reference in New Issue
Block a user