We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df2364 commit 79ced46Copy full SHA for 79ced46
.php-cs-fixer.dist.php
@@ -8,7 +8,7 @@
8
'@Symfony:risky' => true,
9
'protected_to_private' => false,
10
'native_constant_invocation' => ['strict' => false],
11
- 'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => false],
+ 'nullable_type_declaration_for_default_null_value' => true,
12
'modernize_strpos' => true,
13
])
14
->setRiskyAllowed(true)
src/SharedFields/TextTrait.php
@@ -18,7 +18,7 @@ trait TextTrait
18
*/
19
protected $text;
20
21
- public function setText(string $text = null): self
+ public function setText(?string $text = null): self
22
{
23
$this->text = $text;
24
0 commit comments