Skip to content

Commit

Permalink
resolve native type
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 11, 2023
1 parent fa4e844 commit 20c66e5
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

namespace Rector\Tests\DowngradePhp82\Rector\Class_\DowngradeStandaloneNullTrueFalseReturnTypeRector\Fixture;

final class ReturnTrue
{
public function run(): true
{
return true;
}
}

?>
-----
<?php

namespace Rector\Tests\DowngradePhp82\Rector\Class_\DowngradeStandaloneNullTrueFalseReturnTypeRector\Fixture;

final class ReturnTrue
{
/**
* @return true
*/
public function run(): bool
{
return true;
}
}

?>

0 comments on commit 20c66e5

Please sign in to comment.