Skip to content

Commit d71e452

Browse files
committed
Fix template annotation placement in ParamInjectorInterface
Moved the @template annotation to align with PHPDoc standards and improve code clarity. This ensures proper usage and understanding of the type constraints.
1 parent 633958a commit d71e452

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ParamInjectorInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
interface ParamInjectorInterface
1010
{
1111
/**
12-
* @template T of object
1312
* @param MethodInvocation<T> $invocation
13+
*
1414
* @return array<string, mixed>
15+
*
16+
* @template T of object
1517
*/
1618
public function getArgumentes(MethodInvocation $invocation): array;
1719
}

0 commit comments

Comments
 (0)