Completed
Pull Request — master (#82)
by Loren
02:11
created
src/Traits/ReflectionClassLikeTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -312,6 +312,9 @@
 block discarded – undo
312 312
         return new ReflectionExtension($extName);
313 313
     }
314 314
 
315
+    /**
316
+     * @return string
317
+     */
315 318
     public function getExtensionName()
316 319
     {
317 320
         if (!$this->classLikeNode) {
Please login to merge, or discard this patch.
src/Traits/ReflectionFunctionLikeTrait.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@  discard block
 block discarded – undo
106 106
         return new ReflectionExtension($extName);
107 107
     }
108 108
 
109
+    /**
110
+     * @return string
111
+     */
109 112
     public function getExtensionName()
110 113
     {
111 114
         if (!$this->functionLikeNode) {
@@ -223,7 +226,7 @@  discard block
 block discarded – undo
223 226
     /**
224 227
      * Gets the specified return type of a function
225 228
      *
226
-     * @return \ReflectionType
229
+     * @return null|ReflectionType
227 230
      *
228 231
      * @link http://php.net/manual/en/reflectionfunctionabstract.getreturntype.php
229 232
      */
Please login to merge, or discard this patch.
src/ReflectionParameter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 
223 223
     /**
224 224
      * {@inheritDoc}
225
-     * @return Go\ParserReflection\ReflectionClass|null The class of the method that declared the parameter, if any.
225
+     * @return \ReflectionClass|null The class of the method that declared the parameter, if any.
226 226
      */
227 227
     public function getDeclaringClass()
228 228
     {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
 
236 236
     /**
237 237
      * {@inheritDoc}
238
-     * @return Go\ParserReflection\ReflectionFunction the function that declared the parameter
238
+     * @return \ReflectionFunctionAbstract the function that declared the parameter
239 239
      */
240 240
     public function getDeclaringFunction()
241 241
     {
Please login to merge, or discard this patch.