Remove code parameter from HTTPException constructor

- Remove duplicate HTTPException->httpcode class variable
This commit is contained in:
Hypolite Petovan 2019-05-01 21:24:51 -04:00
parent 07cb887885
commit 8eba329111
24 changed files with 60 additions and 29 deletions

View file

@ -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;
}