Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add php 7.4 types to Cookbook docs #6763

Merged
merged 2 commits into from
Jan 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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)
muuvmuuv marked this conversation as resolved.
Show resolved Hide resolved
{
$this->doTest($expected, $input);
}
Expand Down