Skip to content

Commit

Permalink
Update tests/Fixer/Operator/TernaryToElvisOperatorFixerTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
  • Loading branch information
kubawerlos and OskarStark committed Apr 6, 2021
1 parent e3f0d37 commit 86f5b39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Fixer/Operator/TernaryToElvisOperatorFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,10 @@ public function provideDoNotFix80Cases()
['<?php
function test(#[TestAttribute] ?User $user) {}
'],
['<?php
function test(#[TestAttribute] ?User $user = null) {}
'],
];
}
Expand Down

0 comments on commit 86f5b39

Please sign in to comment.