Skip to content

Commit

Permalink
Merge branch '5.2' into 5.x
Browse files Browse the repository at this point in the history
* 5.2:
  [CS] Replace easy occurences of ?: with ??
  • Loading branch information
derrabus committed Apr 7, 2021
2 parents eef61d4 + e6676ac commit 492b1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Package implements PackageInterface
public function __construct(VersionStrategyInterface $versionStrategy, ContextInterface $context = null)
{
$this->versionStrategy = $versionStrategy;
$this->context = $context ?: new NullContext();
$this->context = $context ?? new NullContext();
}

/**
Expand Down

0 comments on commit 492b1de

Please sign in to comment.