From b6f4f1c77ae2dfa0dcbb264c3495ca29b33cd545 Mon Sep 17 00:00:00 2001 From: orklah Date: Fri, 4 Dec 2020 08:38:19 +0100 Subject: [PATCH] fix wrong class --- Plugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugin.php b/Plugin.php index 2b1e27e..f61a890 100644 --- a/Plugin.php +++ b/Plugin.php @@ -1,7 +1,7 @@ registerHooksFromClass(InsaneComparison::class); + if(class_exists(InsaneComparisonAnalyzer::class)){ + $psalm->registerHooksFromClass(InsaneComparisonAnalyzer::class); } } }