From e794fc1e704b34dbe74fba691f4a52018b1d0d52 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 21 Mar 2023 20:28:39 +0100 Subject: [PATCH] disable phpstan if improve use nodetails --- src/module/phpstan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/phpstan.php b/src/module/phpstan.php index b039057..58edf7f 100644 --- a/src/module/phpstan.php +++ b/src/module/phpstan.php @@ -89,7 +89,7 @@ class phpstan extends Action public function isConfigured(): bool { - return true; + return !dcCore::app()->blog->settings->get(My::id())->get('nodetails'); } public function header(): ?string