Skip to content

Commit

Permalink
Apply fixes from StyleCI (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored May 15, 2018
1 parent 63f15b2 commit faaa4d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands/RegenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct(MediaRepository $mediaRepository, FileManipulator $f

public function handle()
{
if (!$this->confirmToProceed()) {
if (! $this->confirmToProceed()) {
return;
}

Expand Down Expand Up @@ -86,7 +86,7 @@ public function getMediaToBeRegenerated(): Collection
return $this->mediaRepository->all();
}

if (!count($mediaIds)) {
if (! count($mediaIds)) {
return $this->mediaRepository->getByModelType($modelType);
}

Expand All @@ -97,7 +97,7 @@ protected function getMediaIds(): array
{
$mediaIds = $this->option('ids');

if (!is_array($mediaIds)) {
if (! is_array($mediaIds)) {
$mediaIds = explode(',', $mediaIds);
}

Expand Down

0 comments on commit faaa4d3

Please sign in to comment.