Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Scrutinizer Auto-Fixes (#262)
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer authored and prisis committed Jun 1, 2016
1 parent c77ad44 commit 6f7a917
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/Viserio/Contracts/Middleware/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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;

Expand All @@ -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;

Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/Viserio/StaticalProxy/AliasLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function setAliases(array $aliases)
*
* @param string $alias
*
* @return bool|string
* @return boolean
*/
protected function resolvePatternAlias(string $alias)
{
Expand Down

0 comments on commit 6f7a917

Please sign in to comment.