[TOOLS] Fix all errors found by PHPStan level 1
This commit is contained in:
@@ -12,7 +12,7 @@ class TypeResponse extends JsonResponse
|
||||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function __construct($data = null, int $status = 202, array $headers = [], bool $json = false)
|
||||
public function __construct($data = null, int $status = 202)
|
||||
{
|
||||
parent::__construct(
|
||||
data: !is_null($data) ? $data->toJson() : null,
|
||||
|
@@ -31,6 +31,8 @@ abstract class AbstractObject
|
||||
*/
|
||||
private array $_props = [];
|
||||
|
||||
protected string $type = 'AbstractObject';
|
||||
|
||||
/**
|
||||
* Standard setter method
|
||||
* - Perform content validation if a validator exists
|
||||
|
Reference in New Issue
Block a user