Skip to content

Commit

Permalink
Merge pull request #13 from aglipanci/patch-1
Browse files Browse the repository at this point in the history
Fix warning that crashes on macOS Monterey
  • Loading branch information
vmitchell85 authored Nov 29, 2021
2 parents 85ed302 + 707549e commit 15a4903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alforge/Open.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function execute($command)
{
$cmdParts = explode(' ', $command);

if ($cmdParts[1]) {
if (isset($cmdParts[1])) {
$this->respond("https://forge.laravel.com/servers/$cmdParts[0]/sites/$cmdParts[1]");
} else {
$this->respond("https://forge.laravel.com/servers/$cmdParts[0]");
Expand Down

0 comments on commit 15a4903

Please sign in to comment.