You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: due to my contract I'm not allowed to disclosure real class names or specifics and MyClass1 / MyClass2 are not related or parent/child
I'm using the workflow / actions and I have the public static function return(): ParameterInterface declared returning return union(object(MyClass1::class), object(MyClass2::class)); with my protected function main(): MyClass1|MyCLass2, but getting the following error:
Call to undefined method ReflectionUnionType::getName()
Looking at the code, I'm guessing that it could be related to line linked below:
Checking for this issue online, got this other reference Codeception/Codeception#6122 which they created a fix for issue, maybe it could be applied here.
We are using PHP 8.3.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
Note: due to my contract I'm not allowed to disclosure real class names or specifics and MyClass1 / MyClass2 are not related or parent/child
I'm using the workflow / actions and I have the
public static function return(): ParameterInterface
declared returningreturn union(object(MyClass1::class), object(MyClass2::class));
with myprotected function main(): MyClass1|MyCLass2
, but getting the following error:Call to undefined method ReflectionUnionType::getName()
Looking at the code, I'm guessing that it could be related to line linked below:
action/src/ReflectionAction.php
Line 134 in 3388c0d
Checking for this issue online, got this other reference Codeception/Codeception#6122 which they created a fix for issue, maybe it could be applied here.
We are using
PHP 8.3
.Thanks!
The text was updated successfully, but these errors were encountered: