Skip to content

Commit

Permalink
Merge pull request #10 from spatie/analysis-qx4vbb
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
brendt committed Dec 24, 2017
2 parents 8d470c0 + ee37706 commit e3593ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ParallelError.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ParallelError extends Exception
{
public static function fromException($exception): ParallelError
public static function fromException($exception): self
{
return new self($exception);
}
Expand Down
3 changes: 1 addition & 2 deletions src/ParallelProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Spatie\Async;

use Error;
use Throwable;
use Symfony\Component\Process\Process;
use Spatie\Async\Output\SerializableException;
Expand Down Expand Up @@ -142,7 +141,7 @@ public function triggerSuccess()
if ($this->getErrorOutput()) {
$this->triggerError();

return null;
return;
}

$output = $this->getOutput();
Expand Down

0 comments on commit e3593ee

Please sign in to comment.