Browse Source

Update src/Command/ServerCommand.php

Co-authored-by: othercorey <corey.taylor.fl@gmail.com>
Mark Story 5 years ago
parent
commit
72d8daedfa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Command/ServerCommand.php

+ 1 - 1
src/Command/ServerCommand.php

@@ -126,7 +126,7 @@ class ServerCommand extends Command
     public function execute(Arguments $args, ConsoleIo $io): ?int
     {
         $this->startup($args, $io);
-        $phpBinary = env('PHP', 'php');
+        $phpBinary = (string)env('PHP', 'php');
         $command = sprintf(
             '%s -S %s:%d -t %s',
             $phpBinary,