Completed
Pull Request — master (#82)
by Loren
02:45 queued 01:04
created
src/ReflectionExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Has extension been loaded by PHP.
32 32
      *
33
-     * @return true
33
+     * @return boolean
34 34
      *     Enabled extensions are always loaded.
35 35
      */
36 36
     public function wasIncluded()
Please login to merge, or discard this patch.
src/ReflectionFunction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Initializes reflection instance for given AST-node
34 34
      *
35
-     * @param string|\Closure $functionName The name of the function to reflect or a closure.
35
+     * @param string $functionName The name of the function to reflect or a closure.
36 36
      * @param Function_|null  $functionNode Function node AST
37 37
      */
38 38
     public function __construct($functionName, Function_ $functionNode = null)
Please login to merge, or discard this patch.
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.