forked from FriendsOfSymfony1/symfony1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To conform with ClientAwareInterface
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
<?php | ||
|
||
use Rentpost\Exception\HttpAwareExceptionInterface; | ||
use Rentpost\Exception\ClientAwareInterface; | ||
|
||
/* | ||
* This file is part of the symfony package. | ||
* (c) 2004-2006 Fabien Potencier <[email protected]> | ||
|
@@ -17,7 +20,7 @@ | |
* @author Fabien Potencier <[email protected]> | ||
* @version SVN: $Id$ | ||
*/ | ||
class sfError404Exception extends sfException implements \Rentpost\Exception\HttpAwareExceptionInterface, \Rentpost\Exception\ClientAwareInterface | ||
class sfError404Exception extends sfException implements HttpAwareExceptionInterface, ClientAwareInterface | ||
{ | ||
/** | ||
* Forwards to the 404 action. | ||
|
@@ -57,4 +60,10 @@ public function getStatusCode(): int | |
{ | ||
return 404; | ||
} | ||
|
||
|
||
public function getProblemFields(): array | ||
{ | ||
return []; | ||
} | ||
} |