From fddbeed402553c7548e3389d2c501c4fdad57dbe Mon Sep 17 00:00:00 2001 From: Darius Matulionis Date: Fri, 21 Aug 2020 05:39:35 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Console/GenerateDocsCommand.php | 2 +- src/Http/Controllers/SwaggerAssetController.php | 2 +- src/Http/Controllers/SwaggerController.php | 4 ++-- tests/GeneratorTest.php | 2 +- tests/TestCase.php | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Console/GenerateDocsCommand.php b/src/Console/GenerateDocsCommand.php index 3e527d9..0e49849 100644 --- a/src/Console/GenerateDocsCommand.php +++ b/src/Console/GenerateDocsCommand.php @@ -2,8 +2,8 @@ namespace L5Swagger\Console; -use L5Swagger\Generator; use Illuminate\Console\Command; +use L5Swagger\Generator; class GenerateDocsCommand extends Command { diff --git a/src/Http/Controllers/SwaggerAssetController.php b/src/Http/Controllers/SwaggerAssetController.php index e5cc5b9..b8c9e6e 100644 --- a/src/Http/Controllers/SwaggerAssetController.php +++ b/src/Http/Controllers/SwaggerAssetController.php @@ -3,8 +3,8 @@ namespace L5Swagger\Http\Controllers; use Illuminate\Http\Response; -use L5Swagger\Exceptions\L5SwaggerException; use Illuminate\Routing\Controller as BaseController; +use L5Swagger\Exceptions\L5SwaggerException; class SwaggerAssetController extends BaseController { diff --git a/src/Http/Controllers/SwaggerController.php b/src/Http/Controllers/SwaggerController.php index 4c8e5f2..2902458 100644 --- a/src/Http/Controllers/SwaggerController.php +++ b/src/Http/Controllers/SwaggerController.php @@ -2,12 +2,12 @@ namespace L5Swagger\Http\Controllers; -use L5Swagger\Generator; +use Illuminate\Routing\Controller as BaseController; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Request; use Illuminate\Support\Facades\Response; use L5Swagger\Exceptions\L5SwaggerException; -use Illuminate\Routing\Controller as BaseController; +use L5Swagger\Generator; class SwaggerController extends BaseController { diff --git a/tests/GeneratorTest.php b/tests/GeneratorTest.php index 0e05a48..0b1f651 100644 --- a/tests/GeneratorTest.php +++ b/tests/GeneratorTest.php @@ -2,8 +2,8 @@ namespace Tests; -use L5Swagger\Generator; use L5Swagger\Exceptions\L5SwaggerException; +use L5Swagger\Generator; class GeneratorTest extends TestCase { diff --git a/tests/TestCase.php b/tests/TestCase.php index 3055322..5ad7f23 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -7,14 +7,14 @@ class TestCase extends OrchestraTestCase { - public function setUp() :void + public function setUp(): void { parent::setUp(); $this->copyAssets(); } - public function tearDown() :void + public function tearDown(): void { if (file_exists($this->jsonDocsFile())) { unlink($this->jsonDocsFile());