Skip to content

Commit

Permalink
Merge 4724269 into 02e6e46
Browse files Browse the repository at this point in the history
  • Loading branch information
setkyar committed May 4, 2020
2 parents 02e6e46 + 4724269 commit 573ee5c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Tinker.php
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Support\Collection;
use Laravel\Tinker\ClassAliasAutoloader;
use Psy\Configuration;
use Psy\ExecutionLoopClosure;
use Psy\Shell;
use Spatie\WebTinker\OutputModifiers\OutputModifier;
use Symfony\Component\Console\Output\BufferedOutput;
Expand Down Expand Up @@ -38,9 +37,7 @@ public function execute(string $phpCode): string

$this->shell->addInput($phpCode);

$closure = new ExecutionLoopClosure($this->shell);

$closure->execute();
$this->shell->execute($phpCode);

$output = $this->cleanOutput($this->output->fetch());

Expand Down

0 comments on commit 573ee5c

Please sign in to comment.