From 8174096db75953a07976c9f4739ec7c0b59d717b Mon Sep 17 00:00:00 2001 From: Daniel Jakob Date: Wed, 23 Jun 2021 20:41:45 +0200 Subject: [PATCH] Correct code style issues --- composer.json | 2 +- src/Dispatch/MethodDispatcher.php | 3 +-- src/Endpoint.php | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index f5ae1a0..c7fe574 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,7 @@ }, "scripts": { "qa": "composer check-cs && composer stan && composer stan", - "check-cs": "./vendor/bin/php-cs-fixer fix --dry-run", + "check-cs": "./vendor/bin/php-cs-fixer fix --dry-run --diff", "fix-cs": "./vendor/bin/php-cs-fixer fix", "test": "./vendor/bin/phpunit tests", "stan": "./vendor/bin/phpstan analyse", diff --git a/src/Dispatch/MethodDispatcher.php b/src/Dispatch/MethodDispatcher.php index 321b5fe..87206d9 100644 --- a/src/Dispatch/MethodDispatcher.php +++ b/src/Dispatch/MethodDispatcher.php @@ -24,8 +24,7 @@ public function __construct( private SchemaLoaderInterface $schemaLoader, private MethodValidatorInterface $methodValidator, private MethodProviderInterface $methodProvider - ) - { + ) { } /** diff --git a/src/Endpoint.php b/src/Endpoint.php index ff1f0d4..8061ec9 100644 --- a/src/Endpoint.php +++ b/src/Endpoint.php @@ -39,8 +39,7 @@ public function __construct( private UuidFactoryInterface $uuidFactory, private StreamFactoryInterface $streamFactory, private ?LoggerInterface $logger = null - ) - { + ) { } /**