Skip to content

Commit

Permalink
Use === operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 15, 2023
1 parent b05dcd0 commit ba35f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeCoverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function __construct(Driver $driver, Filter $filter)
*/
public function getReport(): Directory
{
if (!$this->cachedReport) {
if ($this->cachedReport === null) {
$this->cachedReport = (new Builder($this->analyser()))->build($this);
}

Expand Down

0 comments on commit ba35f96

Please sign in to comment.