Skip to content

Commit 3cc9511

Browse files
committed
Update
1 parent abe50b5 commit 3cc9511

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -239,22 +239,22 @@ class Foo
239239

240240
yield 'keep correct PHPDoc for class properties, PHP 7.4' => [
241241
'<?php class Foo
242-
{
243-
/** @var array */
244-
private array $array;
242+
{
243+
/** @var array */
244+
private array $array;
245245
246-
/** @var bool */
247-
private bool $boolean;
246+
/** @var bool */
247+
private bool $boolean;
248248
249-
/** @var null|string */
250-
private ?string $nullableString;
249+
/** @var null|string */
250+
private ?string $nullableString;
251251
252-
/** @var Bar */
253-
private Bar $bar;
252+
/** @var Bar */
253+
private Bar $bar;
254254
255-
/** @var Vendor\\Baz */
256-
private Vendor\\Baz $baz;
257-
}',
255+
/** @var Vendor\\Baz */
256+
private Vendor\\Baz $baz;
257+
}',
258258
];
259259

260260
yield 'remove PHPDoc for class properties' => [

0 commit comments

Comments
 (0)