@@ -144,6 +144,9 @@ |
||
144 | 144 | return new static(array_filter($this->value(), $predicate, $flag)); |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $accumulator |
|
149 | + */ |
|
147 | 150 | public function reduce(callable $iteratee, $accumulator = null) |
148 | 151 | { |
149 | 152 | return array_reduce($this, $iteratee, $accumulator); |
@@ -88,6 +88,9 @@ |
||
88 | 88 | return $this->lcfirst(); |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @param integer $type |
|
93 | + */ |
|
91 | 94 | public function pad($length = 0, $chars = ' ', $type = STR_PAD_BOTH) |
92 | 95 | { |
93 | 96 | return str_pad($this->subject, $length, $chars, $type); |
@@ -110,7 +110,6 @@ |
||
110 | 110 | * The filter() method creates a new array with all elements that pass the test implemented by the provided function. |
111 | 111 | * |
112 | 112 | * @param callable $callback |
113 | - * @param int $flag |
|
114 | 113 | * |
115 | 114 | * @return static |
116 | 115 | */ |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * The static String.fromCharCode() method returns a string created by using the specified sequence of Unicode values. |
11 | 11 | * |
12 | - * @return static |
|
12 | + * @return |
|
13 | 13 | */ |
14 | 14 | public static function fromCharCode() |
15 | 15 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * The concat() method combines the text of one or more strings and returns a new string. |
71 | 71 | * |
72 | - * @return static |
|
72 | + * @return |
|
73 | 73 | */ |
74 | 74 | public function concat() |
75 | 75 | { |
@@ -62,7 +62,6 @@ discard block |
||
62 | 62 | * Split a string by string. |
63 | 63 | * |
64 | 64 | * @param string $delimiter |
65 | - * @param int $limit |
|
66 | 65 | * |
67 | 66 | * @return \Recca0120\LoDash\JArray |
68 | 67 | */ |
@@ -76,7 +75,6 @@ discard block |
||
76 | 75 | /** |
77 | 76 | * Convert all HTML entities to their applicable characters. |
78 | 77 | * |
79 | - * @param int $flags |
|
80 | 78 | * |
81 | 79 | * @return static |
82 | 80 | */ |
@@ -90,7 +88,6 @@ discard block |
||
90 | 88 | /** |
91 | 89 | * Convert all applicable characters to HTML entities. |
92 | 90 | * |
93 | - * @param int $flags |
|
94 | 91 | * |
95 | 92 | * @return static |
96 | 93 | */ |
@@ -104,7 +101,6 @@ discard block |
||
104 | 101 | /** |
105 | 102 | * Convert special HTML entities back to characters. |
106 | 103 | * |
107 | - * @param int $flags |
|
108 | 104 | * |
109 | 105 | * @return static |
110 | 106 | */ |
@@ -118,7 +114,6 @@ discard block |
||
118 | 114 | /** |
119 | 115 | * Convert special characters to HTML entities. |
120 | 116 | * |
121 | - * @param int $flags |
|
122 | 117 | * |
123 | 118 | * @return static |
124 | 119 | */ |
@@ -215,7 +210,7 @@ discard block |
||
215 | 210 | * |
216 | 211 | * @param string $format |
217 | 212 | * |
218 | - * @return static |
|
213 | + * @return JArray |
|
219 | 214 | */ |
220 | 215 | public function sscanf($format) |
221 | 216 | { |
@@ -259,7 +254,6 @@ discard block |
||
259 | 254 | /** |
260 | 255 | * Strip HTML and PHP tags from a string. |
261 | 256 | * |
262 | - * @param string $allowable_tags |
|
263 | 257 | * |
264 | 258 | * @return static |
265 | 259 | */ |
@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Recca0120\LoDash\JArray; |
6 | 6 | use Recca0120\LoDash\JString\Extensions\Chinese; |
7 | -use Recca0120\LoDash\JString\Extensions\FullCase; |
|
8 | 7 | use Recca0120\LoDash\JString\Extensions\Converter; |
8 | +use Recca0120\LoDash\JString\Extensions\FullCase; |
|
9 | 9 | |
10 | 10 | trait PHP |
11 | 11 | { |