Completed
Pull Request — master (#58)
by Tim
06:23
created
src/AppserverIo/Routlt/Description/PathDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/AppserverIo/Routlt/Results/AbstractResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/AppserverIo/Routlt/Description/ResultDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/AppserverIo/Routlt/Description/ActionDescriptor.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -149,7 +149,6 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * Add's the passed key => value pair as restriction.
151 151
      *
152
-     * @param string $key   The parameter name to add the restriction for
153 152
      * @param string $value The restriction value itself
154 153
      *
155 154
      * @return void
@@ -184,7 +183,6 @@  discard block
 block discarded – undo
184 183
     /**
185 184
      * Add's the passed key => value pair as default.
186 185
      *
187
-     * @param string $key   The parameter name to add the default for
188 186
      * @param string $value The default value itself
189 187
      *
190 188
      * @return void
@@ -241,7 +239,7 @@  discard block
 block discarded – undo
241 239
      *
242 240
      * @param \AppserverIo\Lang\Reflection\MethodInterface $reflectionMethod The reflection method with the action configuration
243 241
      *
244
-     * @return \AppserverIo\Routlt\Description\ActionDescriptorInterface The initialized descriptor
242
+     * @return null|ActionDescriptor The initialized descriptor
245 243
      */
246 244
     public function fromReflectionMethod(MethodInterface $reflectionMethod)
247 245
     {
Please login to merge, or discard this patch.
src/AppserverIo/Routlt/Description/ResultConfigurationDescriptor.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Returns the HTTP response code that has to be send.
119 119
      *
120
-     * @return integer The HTTP response code
120
+     * @return string The HTTP response code
121 121
      */
122 122
     public function getCode()
123 123
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * Returns a new descriptor instance.
129 129
      *
130
-     * @return \AppserverIo\Routlt\Description\ResultDescriptorInterface The descriptor instance
130
+     * @return ResultConfigurationDescriptor The descriptor instance
131 131
      */
132 132
     public static function newDescriptorInstance()
133 133
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      *
163 163
      * @param \AppserverIo\Routlt\Annotations\Result $annotation The result annotation with the result configuration
164 164
      *
165
-     * @return \AppserverIo\Routlt\Description\ResultDescriptorInterface The initialized descriptor
165
+     * @return ResultConfigurationDescriptor The initialized descriptor
166 166
      */
167 167
     public function fromAnnotation(Result $annotation)
168 168
     {
Please login to merge, or discard this patch.