mirror of
https://github.com/friendica/friendica
synced 2025-05-22 21:44:12 +02:00
Remove code parameter from HTTPException constructor
- Remove duplicate HTTPException->httpcode class variable
This commit is contained in:
parent
07cb887885
commit
8eba329111
24 changed files with 60 additions and 29 deletions
|
@ -4,6 +4,7 @@ namespace Friendica\Network\HTTPException;
|
|||
|
||||
use Friendica\Network\HTTPException;
|
||||
|
||||
class NotFoundException extends HTTPException {
|
||||
var $httpcode = 404;
|
||||
class NotFoundException extends HTTPException
|
||||
{
|
||||
protected $code = 404;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue