Skip to content

Commit

Permalink
corrected syntax for 7.2 & 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem committed Dec 6, 2020
1 parent b8a65fd commit 7dc2b03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/LampTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ final class LampTest extends TestCase

public function testRubbing(): void
{
$lamp = new Lamp($c = new Sleeve(), $core = fn() => null);
$lamp = new Lamp($c = new Sleeve(), $core = function () {
return null;
});

$g = $lamp->rub();

Expand Down

0 comments on commit 7dc2b03

Please sign in to comment.