Skip to content

Commit

Permalink
Merge pull request #1 from tjuenger/php74-compat
Browse files Browse the repository at this point in the history
fix: php74 compatibility
  • Loading branch information
possi authored Sep 29, 2020
2 parents 6c4e924 + 998c97d commit a4ec7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected function describePackage($dir)

if (!isset($package['version'])) {
$versionData = $this->versionGuesser->guessVersion($package, $path);
$package['version'] = $versionData['version'] ?: 'dev-master';
$package['version'] = $versionData['version'] ?? 'dev-master';
}

$output = '';
Expand Down

0 comments on commit a4ec7be

Please sign in to comment.