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

Scrutinizer Auto-Fixes #262

Merged
merged 1 commit into from
Jun 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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