Fix user define class as parameters

This commit is contained in:
icefox 2026-01-06 10:19:21 -03:00
parent 75e0ce6530
commit 6050e3bb72
No known key found for this signature in database
5 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,15 @@
<?php
namespace Tests\Classes;
use Tests\Aspects\BasicAspect;
use Tests\Classes\Internal\ImportedClass;
class CallsImportedClass
{
#[BasicAspect]
public function dependsOnOther(ImportedClass $object, object $sideEffect): ImportedClass
{
return $object;
}
}