Skip to content

Commit

Permalink
Apply fixes from StyleCI (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
codedge authored Feb 10, 2020
1 parent 7916109 commit 781d94e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function fetch(string $version = '')

$release = $this->selectRelease($releaseCollection, $version);

$storageFolder = $this->storagePath.$release->commit->author->date . '-' . now()->timestamp;
$storageFolder = $this->storagePath.$release->commit->author->date.'-'.now()->timestamp;
$storageFilename = $storageFolder.'.zip';

if (! $this->isSourceAlreadyFetched($release->commit->author->date)) {
Expand All @@ -66,7 +66,7 @@ public function selectRelease(Collection $collection, string $version)
$release = $collection->first();

if (! empty($version)) {
if($collection->contains('commit.author.date', $version)) {
if ($collection->contains('commit.author.date', $version)) {
$release = $collection->where('commit.author.date', $version)->first();
} else {
Log::info('No release for version "'.$version.'" found. Selecting latest.');
Expand Down

0 comments on commit 781d94e

Please sign in to comment.