diff --git a/psalm-baseline.xml b/psalm-baseline.xml index dbe0391..e4ea4b9 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -34,15 +34,9 @@ problemStatusTitles[$this->status]]]> - - $title - (bool) $flag - - title]]> - $status @@ -326,17 +320,6 @@ - $content - $content - $content - $content - $content - $content - $content - $content - $content - $content - $content $content $content $content @@ -348,22 +331,6 @@ getContent()]]> getContent()]]> - - - - - - - - - - - - - - - - $content $content @@ -395,7 +362,6 @@ - $data @@ -403,6 +369,10 @@ + + getMockForAbstractClass + returnCallback + setSharedManager @@ -411,9 +381,6 @@ $test - - - $test diff --git a/src/ApiProblem.php b/src/ApiProblem.php index 5c281f9..19d3488 100644 --- a/src/ApiProblem.php +++ b/src/ApiProblem.php @@ -68,8 +68,10 @@ class ApiProblem /** * Normalized property names for overloading. + * + * @var array */ - protected array $normalizedProperties = [ + protected $normalizedProperties = [ 'type' => 'type', 'status' => 'status', 'title' => 'title', @@ -78,8 +80,10 @@ class ApiProblem /** * Status titles for common problems. + * + * @var array */ - protected array $problemStatusTitles = [ + protected $problemStatusTitles = [ // CLIENT ERROR 400 => 'Bad Request', 401 => 'Unauthorized',