Completed
Push — master ( 988869...84d590 )
by Lorenzo
08:17
created
src/string.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * Determine if a given string ends with a given substring.
137 137
      *
138 138
      * @param  string $haystack
139
-     * @param  string|array $needles
139
+     * @param  string $needles
140 140
      * @return bool
141 141
      */
142 142
     function ends_with($haystack, $needles)
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      * Determine if a given string starts with a given substring.
181 181
      *
182 182
      * @param  string $haystack
183
-     * @param  string|array $needles
183
+     * @param  string $needles
184 184
      * @return bool
185 185
      */
186 186
     function starts_with($haystack, $needles)
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
 
549 549
 /**
550 550
  * Return true if $subject is not null and is not empty string ('').
551
- * @param $subject
551
+ * @param string $subject
552 552
  * @param bool $withTrim if set to true (default) check if trim()!='' too.
553 553
  * @return bool
554 554
  */
Please login to merge, or discard this patch.
src/array.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * Get the first element of an array. Useful for method chaining.
65 65
      *
66 66
      * @param  array $array
67
-     * @return mixed
67
+     * @return string
68 68
      */
69 69
     function head($array)
70 70
     {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 
336 336
     /**
337 337
      * Check if array is not null and not empty.
338
-     * @param $array
338
+     * @param string[] $array
339 339
      * @return bool
340 340
      */
341 341
     function isNotNullOrEmptyArray($array):bool
Please login to merge, or discard this patch.
src/datetime.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -610,7 +610,7 @@
 block discarded – undo
610 610
      * If cal_days_in_month() is not defined return the number of days
611 611
      * in a current month in CAL_GREGORIAN calendar.
612 612
      * If $calendar is null or empty or not is integer, use CAL_GREGORIAN.
613
-     * @param $calendar
613
+     * @param integer $calendar
614 614
      * @return int
615 615
      */
616 616
     function cal_days_in_current_month($calendar = CAL_GREGORIAN) : int
Please login to merge, or discard this patch.