Skip to content

Commit

Permalink
To conform with ClientAwareInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
oojacoboo committed Mar 13, 2023
1 parent b467860 commit 05f546c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/exception/sfError404Exception.class.php
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]>
Expand All @@ -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.
Expand Down Expand Up @@ -57,4 +60,10 @@ public function getStatusCode(): int
{
return 404;
}


public function getProblemFields(): array
{
return [];
}
}

0 comments on commit 05f546c

Please sign in to comment.