Skip to content

Commit

Permalink
Remove unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Oct 14, 2014
1 parent 1e5eba8 commit c40cde8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Response/VndErrorResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

class VndErrorResponse extends HalResponse
{
public function __construct(Hal $hal, $status = 500, $headers = array(), $prettyPrint = false, $debug = false)
public function __construct(Hal $hal, $status = 500, $headers = array(), $prettyPrint = false)
{
parent::__construct($hal, $status, $headers, $prettyPrint);

$this->headers->set('Content-Type', 'application/vnd.error+json');
}

public static function create($hal = null, $status = 500, $headers = array(), $prettyPrint = false, $debug = false)
public static function create($hal = null, $status = 500, $headers = array(), $prettyPrint = false)
{
return new static($hal, $status, $headers, $prettyPrint, $debug);
return new static($hal, $status, $headers, $prettyPrint);
}

public static function fromException(\Exception $exception, $prettyPrint = false, $debug = false)
Expand Down

0 comments on commit c40cde8

Please sign in to comment.