Improved coding styles

This commit is contained in:
Alejandro Celaya
2017-10-12 10:13:20 +02:00
parent fbeb959317
commit c422a14c5c
219 changed files with 473 additions and 26 deletions

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\Rest\Middleware;
use Fig\Http\Message\RequestMethodInterface;
@@ -28,7 +30,7 @@ class BodyParserMiddleware implements MiddlewareInterface, RequestMethodInterfac
if (! empty($currentParams) || in_array($method, [
self::METHOD_GET,
self::METHOD_HEAD,
self::METHOD_OPTIONS
self::METHOD_OPTIONS,
], true)) {
return $delegate->process($request);
}