Skip to content

Commit

Permalink
Update Launcher.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Mar 3, 2020
1 parent a115157 commit 31f8aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Processor/Launcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function getOutput()

$cleaned = $this->output;
$replaceWith = $this->getResult();
if (\strpos((string) $cleaned, $this->rawLastResult) !== false) {
if (\is_string($cleaned) && \strpos($cleaned, $this->rawLastResult) !== false) {
$this->output = \str_replace($this->rawLastResult, $replaceWith, $cleaned);
}

Expand Down

0 comments on commit 31f8aa1

Please sign in to comment.