Skip to content

Commit

Permalink
Fix PHPDoc blocks for responses (#14369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Kinyakin authored and taylorotwell committed Jul 19, 2016
1 parent 80461b1 commit 57c5816
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Middleware/FrameGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FrameGuard
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Illuminate\Http\Response
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
Expand Down
8 changes: 4 additions & 4 deletions ResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public function content()
* Set a header on the Response.
*
* @param string $key
* @param string $value
* @param array|string $values
* @param bool $replace
* @return $this
*/
public function header($key, $value, $replace = true)
public function header($key, $values, $replace = true)
{
$this->headers->set($key, $value, $replace);
$this->headers->set($key, $values, $replace);

return $this;
}
Expand Down Expand Up @@ -87,7 +87,7 @@ public function withCookie($cookie)
/**
* Throws the response in a HttpResponseException instance.
*
* @throws Illuminate\Http\Exception\HttpResponseException;
* @throws \Illuminate\Http\Exception\HttpResponseException;
*/
public function throwResponse()
{
Expand Down

0 comments on commit 57c5816

Please sign in to comment.