@@ -172,7 +172,7 @@ |
||
172 | 172 | * |
173 | 173 | * @param \AppserverIo\Lang\Reflection\MethodInterface $reflectionMethod The reflection method with the action configuration |
174 | 174 | * |
175 | - * @return \AppserverIo\Routlt\Description\ActionDescriptorInterface The initialized descriptor |
|
175 | + * @return null|ActionDescriptor The initialized descriptor |
|
176 | 176 | */ |
177 | 177 | public function fromReflectionMethod(MethodInterface $reflectionMethod) |
178 | 178 | { |
@@ -304,7 +304,7 @@ |
||
304 | 304 | * |
305 | 305 | * @param \AppserverIo\Lang\Reflection\ClassInterface $reflectionClass The reflection class with the bean configuration |
306 | 306 | * |
307 | - * @return \AppserverIo\Routlt\Description\PathDescriptorInterface The initialized descriptor |
|
307 | + * @return null|PathDescriptor The initialized descriptor |
|
308 | 308 | */ |
309 | 309 | public function fromReflectionClass(ClassInterface $reflectionClass) |
310 | 310 | { |
@@ -144,7 +144,7 @@ |
||
144 | 144 | /** |
145 | 145 | * Returns the HTTP response code that has to be send. |
146 | 146 | * |
147 | - * @return integer The HTTP response code |
|
147 | + * @return string The HTTP response code |
|
148 | 148 | */ |
149 | 149 | public function getCode() |
150 | 150 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * Returns the HTTP response code that has to be send. |
120 | 120 | * |
121 | - * @return integer The HTTP response code |
|
121 | + * @return string The HTTP response code |
|
122 | 122 | */ |
123 | 123 | public function getCode() |
124 | 124 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Returns a new descriptor instance. |
130 | 130 | * |
131 | - * @return \AppserverIo\Routlt\Description\ResultDescriptorInterface The descriptor instance |
|
131 | + * @return ResultConfigurationDescriptor The descriptor instance |
|
132 | 132 | */ |
133 | 133 | public static function newDescriptorInstance() |
134 | 134 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * |
164 | 164 | * @param \AppserverIo\Lang\Reflection\AnnotationInterface $reflectionAnnotation The reflection annotation with the result configuration |
165 | 165 | * |
166 | - * @return \AppserverIo\Routlt\Description\ResultDescriptorInterface The initialized descriptor |
|
166 | + * @return ResultConfigurationDescriptor The initialized descriptor |
|
167 | 167 | */ |
168 | 168 | public function fromReflectionAnnotation(AnnotationInterface $reflectionAnnotation) |
169 | 169 | { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * |
103 | 103 | * @param \AppserverIo\Lang\Reflection\ClassInterface $reflectionClass The reflection class with the bean configuration |
104 | 104 | * |
105 | - * @return \AppserverIo\Routlt\Description\PathDescriptorInterface The initialized descriptor |
|
105 | + * @return null|ResultDescriptor The initialized descriptor |
|
106 | 106 | */ |
107 | 107 | public function fromReflectionClass(ClassInterface $reflectionClass) |
108 | 108 | { |