mirror of
https://github.com/friendica/friendica
synced 2025-05-04 19:44:11 +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
10
src/Network/HTTPException/NoContentException.php
Normal file
10
src/Network/HTTPException/NoContentException.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Network\HTTPException;
|
||||
|
||||
use Friendica\Network\HTTPException;
|
||||
|
||||
class NoContentException extends HTTPException
|
||||
{
|
||||
protected $code = 204;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue