From ec855058e59e2b330d532162d923c22ae1b48793 Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Thu, 9 May 2024 16:37:28 +0100 Subject: [PATCH] fix phpstan error Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- phpstan-baseline.neon | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 10e10ef..0decc01 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -286,23 +286,33 @@ parameters: path: src/Http/Actions/LocationAwareController.php - - message: "#^Call to an undefined method Igniter\\\\Local\\\\Http\\\\Controllers\\\\Locations\\:\\:getFormModel\\(\\)\\.$#" + message: "#^Call to an undefined method Igniter\\\\Local\\\\Http\\\\Controllers\\\\LocationSettings\\:\\:getFormModel\\(\\)\\.$#" count: 1 - path: src/Http/Controllers/Locations.php + path: src/Http/Controllers/LocationSettings.php - message: "#^Call to an undefined static method Igniter\\\\Admin\\\\Facades\\\\AdminMenu\\:\\:setContext\\(\\)\\.$#" count: 1 - path: src/Http/Controllers/Locations.php + path: src/Http/Controllers/LocationSettings.php - message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:check\\(\\)\\.$#" count: 1 - path: src/Http/Controllers/Locations.php + path: src/Http/Controllers/LocationSettings.php - message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:getId\\(\\)\\.$#" count: 2 + path: src/Http/Controllers/LocationSettings.php + + - + message: "#^Call to an undefined method Igniter\\\\Local\\\\Http\\\\Controllers\\\\Locations\\:\\:getFormModel\\(\\)\\.$#" + count: 1 + path: src/Http/Controllers/Locations.php + + - + message: "#^Call to an undefined static method Igniter\\\\Admin\\\\Facades\\\\AdminMenu\\:\\:setContext\\(\\)\\.$#" + count: 1 path: src/Http/Controllers/Locations.php -