rector/rules-tests/CodeQuality/Rector/FuncCall/InlineIsAInstanceOfRector/Fixture/skip_checked_type_string.php.inc
2022-05-27 00:01:06 +02:00

14 lines
328 B
PHP

<?php
namespace Rector\Tests\CodeQuality\Rector\FuncCall\InlineIsAInstanceOfRector\Fixture;
use Rector\Tests\CodeQuality\Rector\FuncCall\InlineIsAInstanceOfRector\Source\SomeType;
final class SkipCheckedTypeString
{
public function run(string $stringType)
{
return is_a($stringType, SomeType::class);
}
}