@@ -137,8 +137,7 @@ public static function notContains($needle, $actual, string $description = null)
137137
138138 /**
139139 * Checks TRUE assertion.
140- * @param mixed actual
141- * @param string fail message
140+ * @param mixed $actual
142141 */
143142 public static function true ($ actual , string $ description = null ): void
144143 {
@@ -151,8 +150,7 @@ public static function true($actual, string $description = null): void
151150
152151 /**
153152 * Checks FALSE assertion.
154- * @param mixed actual
155- * @param string fail message
153+ * @param mixed $actual
156154 */
157155 public static function false ($ actual , string $ description = null ): void
158156 {
@@ -165,8 +163,7 @@ public static function false($actual, string $description = null): void
165163
166164 /**
167165 * Checks NULL assertion.
168- * @param mixed actual
169- * @param string fail message
166+ * @param mixed $actual
170167 */
171168 public static function null ($ actual , string $ description = null ): void
172169 {
@@ -179,8 +176,7 @@ public static function null($actual, string $description = null): void
179176
180177 /**
181178 * Checks Not a Number assertion.
182- * @param mixed actual
183- * @param string fail message
179+ * @param mixed $actual
184180 */
185181 public static function nan ($ actual , string $ description = null ): void
186182 {
@@ -193,8 +189,7 @@ public static function nan($actual, string $description = null): void
193189
194190 /**
195191 * Checks truthy assertion.
196- * @param mixed actual
197- * @param string fail message
192+ * @param mixed $actual
198193 */
199194 public static function truthy ($ actual , string $ description = null ): void
200195 {
@@ -207,8 +202,7 @@ public static function truthy($actual, string $description = null): void
207202
208203 /**
209204 * Checks falsey (empty) assertion.
210- * @param mixed actual
211- * @param string fail message
205+ * @param mixed $actual
212206 */
213207 public static function falsey ($ actual , string $ description = null ): void
214208 {
@@ -221,9 +215,7 @@ public static function falsey($actual, string $description = null): void
221215
222216 /**
223217 * Checks if subject has expected count.
224- * @param int expected count
225- * @param mixed subject
226- * @param string fail message
218+ * @param mixed $value
227219 */
228220 public static function count (int $ count , $ value , string $ description = null ): void
229221 {
@@ -239,6 +231,8 @@ public static function count(int $count, $value, string $description = null): vo
239231
240232 /**
241233 * Checks assertion.
234+ * @param string|object $type
235+ * @param mixed $value
242236 */
243237 public static function type ($ type , $ value , string $ description = null ): void
244238 {
@@ -303,9 +297,9 @@ public static function throws(callable $function, string $class, string $message
303297
304298 /**
305299 * Checks if the function generates PHP error or throws exception.
306- * @param callable
307- * @param int| string|array
308- * @param string message
300+ * @param int|string|array $expectedType
301+ * @param string $expectedMessage message
302+ * @throws \Exception
309303 * @throws \Exception
310304 */
311305 public static function error (callable $ function , $ expectedType , string $ expectedMessage = null ): ?\Throwable
@@ -387,8 +381,7 @@ public static function noError(callable $function): void
387381 * %i% signed integer value
388382 * %f% floating point number
389383 * %h% one or more HEX digits
390- * @param string mask|regexp; only delimiters ~ and # are supported for regexp
391- * @param string $description fail message
384+ * @param string $pattern mask|regexp; only delimiters ~ and # are supported for regexp
392385 */
393386 public static function match (string $ pattern , $ actual , string $ description = null ): void
394387 {
0 commit comments