BugFix: Fix toUseTrait to detect inherited and nested traits

This commit is contained in:
Malico
2025-09-20 19:06:23 +01:00
parent fc7a4182b5
commit dc9a1e8ace
6 changed files with 83 additions and 1 deletions

View File

@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Arch\ToUseTrait\HasNestedTrait;
trait NestedTrait
{
public function nestedMethod()
{
return 'nested';
}
}