From 138045fc097169c08b613a9beb1681f51d5edbe9 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Wed, 1 Jun 2016 13:57:11 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/Viserio/Contracts/Middleware/Factory.php | 12 ++++++------ src/Viserio/StaticalProxy/AliasLoader.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Viserio/Contracts/Middleware/Factory.php b/src/Viserio/Contracts/Middleware/Factory.php index 1b0c0a627..ccfb7af7c 100644 --- a/src/Viserio/Contracts/Middleware/Factory.php +++ b/src/Viserio/Contracts/Middleware/Factory.php @@ -18,7 +18,7 @@ interface Factory * @param array $headers The parsed headers for the request * @param mixed $body The body for the request * - * @return Psr\Http\Message\RequestInterface The generated request + * @return RequestInterface The generated request */ public function createRequest( UriInterface $uri = null, @@ -35,7 +35,7 @@ public function createRequest( * @param array $headers The parsed headers for the request * @param mixed $body The body for the request * - * @return Psr\Http\Message\ServerRequestInterface The generated request + * @return ServerRequestInterface The generated request */ public function createServerRequest( UriInterface $uri = null, @@ -51,7 +51,7 @@ public function createServerRequest( * @param array $headers The parsed headers for the response * @param mixed $body The body for the response * - * @return Psr\Http\Message\ResponseInterface The generated response + * @return ResponseInterface The generated response */ public function createResponse( int $status = 200, @@ -64,7 +64,7 @@ public function createResponse( * * @param resource|string|null|int|float|bool|StreamInterface|callable $data * - * @return Psr\Http\Message\StreamInterface + * @return StreamInterface */ public function createStream($data = null): StreamInterface; @@ -73,7 +73,7 @@ public function createStream($data = null): StreamInterface; * * @param string $uri * - * @return Psr\Http\Message\UriInterface + * @return UriInterface */ public function createUri(string $uri = ''): UriInterface; @@ -86,7 +86,7 @@ public function createUri(string $uri = ''): UriInterface; * @param string $clientFile * @param string $clientMediaType * - * @return Psr\Http\Message\UploadedFileInterface + * @return UploadedFileInterface */ public function createUploadedFile( $data, diff --git a/src/Viserio/StaticalProxy/AliasLoader.php b/src/Viserio/StaticalProxy/AliasLoader.php index 29c019ade..ca52df6d6 100644 --- a/src/Viserio/StaticalProxy/AliasLoader.php +++ b/src/Viserio/StaticalProxy/AliasLoader.php @@ -280,7 +280,7 @@ public function setAliases(array $aliases) * * @param string $alias * - * @return bool|string + * @return boolean */ protected function resolvePatternAlias(string $alias) {