@@ -31,6 +31,9 @@ discard block |
||
31 | 31 | trait AnnotationTrait |
32 | 32 | { |
33 | 33 | |
34 | + /** |
|
35 | + * @return string |
|
36 | + */ |
|
34 | 37 | abstract public function getDocComment(); |
35 | 38 | abstract public function getNamespaceName(); |
36 | 39 | |
@@ -45,7 +48,7 @@ discard block |
||
45 | 48 | * |
46 | 49 | * @param Annotation|null |
47 | 50 | * @throws MultipleAnnotationException |
48 | - * @return string |
|
51 | + * @return null|Annotation |
|
49 | 52 | */ |
50 | 53 | |
51 | 54 | public function getAnnotation($name) |
@@ -11,8 +11,8 @@ |
||
11 | 11 | namespace Codeburner\Annotator\Reflection; |
12 | 12 | |
13 | 13 | use ReflectionClass; |
14 | -use ReflectionProperty; |
|
15 | 14 | use ReflectionMethod; |
15 | +use ReflectionProperty; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Avoid the autoload by manually including the required files. |