Skip to content

Commit

Permalink
chore: pint run | fix!: missing semi-colon
Browse files Browse the repository at this point in the history
  • Loading branch information
Xurape committed Jun 30, 2024
1 parent 8a3cd73 commit 6347bdd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Console/Commands/ModulifyDoctorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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) [
Expand Down

0 comments on commit 6347bdd

Please sign in to comment.