From bf37c013d79a6e349009adb6f0c318a62bc5f4f1 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Wed, 17 Oct 2018 15:57:43 +0900 Subject: [PATCH] fix cs --- src/Annotation/DefaultSchemeHost.php | 6 +----- src/Exception/ExceptionInterface.php | 6 +----- src/Exception/LogicException.php | 6 +----- src/Exception/RuntimeException.php | 6 +----- src/Extension/Application/AbstractApp.php | 6 +----- src/Extension/Application/AppInterface.php | 6 +----- src/Extension/Error/ErrorInterface.php | 11 +---------- src/Extension/Error/NullError.php | 6 +----- src/Extension/ExtensionInterface.php | 6 +----- src/Extension/Router/NullMatch.php | 6 +----- src/Extension/Router/RouterInterface.php | 8 ++------ src/Extension/Router/RouterMatch.php | 9 ++------- src/Extension/Transfer/HttpCacheInterface.php | 6 +----- src/Extension/Transfer/NullHttpCache.php | 6 +----- src/Extension/Transfer/TransferInterface.php | 6 +----- src/Inject/PsrLoggerInject.php | 8 +------- src/Inject/ResourceInject.php | 8 +------- src/Module/Annotation/DoctrineAnnotationModule.php | 6 +----- src/Module/Cache/DoctrineCacheModule.php | 6 +----- src/Module/Constant/NamedModule.php | 9 +-------- src/Module/Resource/ResourceModule.php | 6 +----- src/Module/SundayModule.php | 6 +----- src/Provide/Application/App.php | 6 +----- src/Provide/Application/AppModule.php | 6 +----- src/Provide/Error/ErrorModule.php | 6 +----- src/Provide/Error/ErrorPage.php | 6 +----- src/Provide/Error/VndError.php | 6 +----- src/Provide/Representation/RepresentationModule.php | 6 +----- src/Provide/Router/RouterModule.php | 6 +----- src/Provide/Router/WebRouter.php | 8 +------- src/Provide/Transfer/HttpCacheModule.php | 6 +----- src/Provide/Transfer/HttpResponder.php | 6 +----- src/Provide/Transfer/HttpResponderModule.php | 6 +----- 33 files changed, 35 insertions(+), 182 deletions(-) diff --git a/src/Annotation/DefaultSchemeHost.php b/src/Annotation/DefaultSchemeHost.php index dc2b1e0d..c91e0773 100644 --- a/src/Annotation/DefaultSchemeHost.php +++ b/src/Annotation/DefaultSchemeHost.php @@ -1,11 +1,7 @@ query ? '?' : ''; - $string = "{$this->method} {$this->path}{$querySymbol}" . \http_build_query($this->query); - return $string; + return "{$this->method} {$this->path}{$querySymbol}" . \http_build_query($this->query); } } diff --git a/src/Extension/Transfer/HttpCacheInterface.php b/src/Extension/Transfer/HttpCacheInterface.php index 14ac0145..69857d50 100644 --- a/src/Extension/Transfer/HttpCacheInterface.php +++ b/src/Extension/Transfer/HttpCacheInterface.php @@ -1,11 +1,7 @@ names = $names; diff --git a/src/Module/Resource/ResourceModule.php b/src/Module/Resource/ResourceModule.php index 6a804fc2..13b11290 100644 --- a/src/Module/Resource/ResourceModule.php +++ b/src/Module/Resource/ResourceModule.php @@ -1,11 +1,7 @@