@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Shared implementation of hook reading logic. |
| 50 | 50 | * |
| 51 | - * @param object $target Object to read annotations from. |
|
| 51 | + * @param Annotatable $target Object to read annotations from. |
|
| 52 | 52 | * @param \Closure $condition Whether the annotation should be registered. |
| 53 | 53 | * @return array |
| 54 | 54 | */ |