Skip to content

Commit

Permalink
feature: Add php 7.4 types to Cookbook docs (#6763)
Browse files Browse the repository at this point in the history
  • Loading branch information
muuvmuuv committed Jan 27, 2023
1 parent 61ce0e6 commit e4a19bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions doc/cookbook_fixers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,9 @@ Now let us create the test file at
final class RemoveCommentsFixerTest extends AbstractFixerTestCase
{
/**
* @param string $expected
* @param null|string $input
*
* @dataProvider provideFixCases
*/
public function testFix($expected, $input = null)
public function testFix(string $expected, ?string $input = null): void
{
$this->doTest($expected, $input);
}
Expand Down

0 comments on commit e4a19bf

Please sign in to comment.