Skip to content

Commit

Permalink
Fix type hints in doc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 15, 2017
1 parent 2006a09 commit 2978adc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Http/Middleware/EncryptedCookieMiddleware.php
Expand Up @@ -130,8 +130,8 @@ protected function decodeCookies(ServerRequestInterface $request)
/**
* Encode cookies from a response's CookieCollection.
*
* @param \Psr\Http\Message\ResponseInterface $respons The response to encode cookies in.
* @return \Psr\Http\Message\ResponseInterface Updated response with encoded cookies.
* @param \Cake\Http\Response $response The response to encode cookies in.
* @return \Cake\Http\Response Updated response with encoded cookies.
*/
protected function encodeCookies(Response $response)
{
Expand All @@ -149,7 +149,7 @@ protected function encodeCookies(Response $response)
/**
* Encode cookies from a response's Set-Cookie header
*
* @param \Psr\Http\Message\ResponseInterface $respons The response to encode cookies in.
* @param \Psr\Http\Message\ResponseInterface $response The response to encode cookies in.
* @return \Psr\Http\Message\ResponseInterface Updated response with encoded cookies.
*/
protected function encodeSetCookieHeader(ResponseInterface $response)
Expand Down

0 comments on commit 2978adc

Please sign in to comment.