The expression return $getParams could return the type null which is incompatible with the type-hinted return array|null. Consider adding an additional type-check to rule them out.
The expression return $postParams could return the type null which is incompatible with the type-hinted return array|null. Consider adding an additional type-check to rule them out.
Loading history...
52
}
53
54
/**
55
* Get Input parameters sent via PUT, PATCH or DELETE methods
56
* @return array
57
*/
58
private static function getRawInputs(): array
59
{
60
$inputParams = [];
61
62
if (in_array(self::$__method, ['PUT', 'PATCH', 'DELETE'])) {