-
-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1848ff
commit 1a668b5
Showing
5 changed files
with
27 additions
and
36 deletions.
There are no files selected for viewing
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
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
15 changes: 0 additions & 15 deletions
15
packages/VendorLocker/Reflection/ClassReflectionAncestorAnalyzer.php
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...tor/FunctionLike/ReturnTypeDeclarationRector/Fixture/skip_already_set_return_type.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,21 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\TypeDeclaration\Rector\FunctionLike\ReturnTypeDeclarationRector\Fixture; | ||
|
||
use PhpParser\Node\Expr\FuncCall; | ||
use PhpParser\Node\Name; | ||
|
||
abstract class ParentReturnType | ||
{ | ||
public function run(): ?\PhpParser\Node | ||
{ | ||
} | ||
} | ||
|
||
final class SkipAlreadySetReturnType extends ParentReturnType | ||
{ | ||
public function run(): ?\PhpParser\Node | ||
{ | ||
return new FuncCall(new Name('some')); | ||
} | ||
} |
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