From 6347bddaaac09c1250daad61607e64c23308e1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ferreira?= Date: Sun, 30 Jun 2024 16:59:52 +0100 Subject: [PATCH] chore: pint run | fix!: missing semi-colon --- src/Console/Commands/ModulifyDoctorCommand.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Console/Commands/ModulifyDoctorCommand.php b/src/Console/Commands/ModulifyDoctorCommand.php index 2ef98ea..5039322 100644 --- a/src/Console/Commands/ModulifyDoctorCommand.php +++ b/src/Console/Commands/ModulifyDoctorCommand.php @@ -41,7 +41,7 @@ public function handle() $version = null; $laravel_version = null; $module_errors = null; - + spin(function () use (&$version, &$module_errors, &$laravel_version) { $version = $this->checkVersion(); $laravel_version = $this->checkLaravelVersion(); @@ -143,10 +143,11 @@ protected function checkLaravelVersion() } else { $supported = 'No'; $color = 'yellow'; - $this->erros[] = [ + + $this->errors[] = [ "error" => "Laravel version is not supported", "solution" => "Upgrade to Laravel 11.x or higher", - ] + ]; } return (object) [