-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TypeDeclaration] Do not remove docblock with description on MergeDat…
…eTimePropertyTypeDeclarationRector (#5931) * [TypeDeclaration] Do not remove docblock with description on MergeDateTimePropertyTypeDeclarationRector * [ci-review] Rector Rectify --------- Co-authored-by: GitHub Action <actions@github.com>
- Loading branch information
1 parent
b2d1c9d
commit a3ed07f
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...eDateTimePropertyTypeDeclarationRector/Fixture/do_not_remove_doc_with_description.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\TypeDeclaration\Rector\Class_\MergeDateTimePropertyTypeDeclarationRector\Fixture; | ||
|
||
final class DoNotRemoveDocWithDescription | ||
{ | ||
/** | ||
* @var \DateTimeInterface some desc | ||
*/ | ||
private \DateTime $dateTime; | ||
} | ||
|
||
?> | ||
----- | ||
<?php | ||
|
||
namespace Rector\Tests\TypeDeclaration\Rector\Class_\MergeDateTimePropertyTypeDeclarationRector\Fixture; | ||
|
||
final class DoNotRemoveDocWithDescription | ||
{ | ||
/** | ||
* @var \DateTimeInterface some desc | ||
*/ | ||
private \DateTimeInterface $dateTime; | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters