Skip to content

Commit

Permalink
chore: sugar syntax (#7986)
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed May 6, 2024
1 parent 36873f5 commit 6dfd2ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ public function getCustomFixers(): array
*/
public function getFinder(): iterable
{
if (null === $this->finder) {
$this->finder = new Finder();
}
// to master line
$this->finder ??= new Finder();

return $this->finder;
}
Expand Down

0 comments on commit 6dfd2ee

Please sign in to comment.