Completed
Push — develop ( 05e722...b4d631 )
by Stuart
03:44 queued 01:20
created
src/type-functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
 /**
544 544
  * is $item something that PHP will accept as a string?
545 545
  *
546
- * @param  mixed $item
546
+ * @param  string $item
547 547
  *         the variable to examine
548 548
  * @return bool
549 549
  *         TRUE if PHP will happily use $item as a string
@@ -652,7 +652,7 @@  discard block
 block discarded – undo
652 652
 /**
653 653
  * what PHP type is $item?
654 654
  *
655
- * @param  mixed $item
655
+ * @param  string $item
656 656
  *         the data to examine
657 657
  * @param  int $flags
658 658
  *         options to change what we put in the return value
@@ -669,7 +669,7 @@  discard block
 block discarded – undo
669 669
  *
670 670
  * @param  mixed $item
671 671
  *         the item to examine
672
- * @return array
672
+ * @return string[]
673 673
  *         the list of type(s) that this item can be
674 674
  */
675 675
 function get_strict_types($item)
Please login to merge, or discard this patch.
src/TypeInspectors/GetDuckTypes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
      *
195 195
      * @param  mixed $item
196 196
      *         the item to examine
197
-     * @return array
197
+     * @return string[]
198 198
      *         the basic type of the examined item
199 199
      */
200 200
     private static function fromString($item)
Please login to merge, or discard this patch.
src/error-shim.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -57,13 +57,37 @@
 block discarded – undo
57 57
      */
58 58
     interface Throwable
59 59
     {
60
+
61
+        /**
62
+         * @return string
63
+         */
60 64
         public function getMessage();
61 65
         public function getCode();
66
+
67
+        /**
68
+         * @return string
69
+         */
62 70
         public function getFile();
71
+
72
+        /**
73
+         * @return integer
74
+         */
63 75
         public function getLine();
64 76
         public function getTrace();
77
+
78
+        /**
79
+         * @return string
80
+         */
65 81
         public function getTraceAsString();
82
+
83
+        /**
84
+         * @return Exception
85
+         */
66 86
         public function getPrevious();
87
+
88
+        /**
89
+         * @return string
90
+         */
67 91
         public function __toString();
68 92
     }
69 93
 }
Please login to merge, or discard this patch.
src/ClassesAndObjects/IsListOfClassProperties.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      *
66 66
      * we don't support any customisations
67 67
      *
68
-     * @return IsClassPropertyList
68
+     * @return IsListOfClassProperties
69 69
      */
70 70
     public static function using()
71 71
     {
Please login to merge, or discard this patch.
src/ClassesAndObjects/IsListOfObjectProperties.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * we do not support any customisations
68 68
      *
69
-     * @return IsObjectPropertyList
69
+     * @return IsListOfObjectProperties
70 70
      */
71 71
     public static function using()
72 72
     {
Please login to merge, or discard this patch.