fixup! Merge pull request #2966 from rectorphp/public-abstract

This commit is contained in:
TomasVotruba 2020-02-29 15:23:37 +01:00
parent 5f4ca314a9
commit 6420f9322e

View File

@ -0,0 +1,39 @@
<?php
namespace Rector\DeadCode\Tests\Rector\Stmt\RemoveUnreachableStatementRector\Fixture;
// @see https://3v4l.org/W54bM
class TryFinally
{
public function setMultiple($values, $ttl = null): bool
{
try {
return true;
} finally {
echo 3;
}
return false;
}
}
?>
-----
<?php
namespace Rector\DeadCode\Tests\Rector\Stmt\RemoveUnreachableStatementRector\Fixture;
// @see https://3v4l.org/W54bM
class TryFinally
{
public function setMultiple($values, $ttl = null): bool
{
try {
return true;
} finally {
echo 3;
}
}
}
?>