@@ -280,9 +280,10 @@ public function __construct(iterable $values = []) {}
280280 public function allocate (int $ capacity ): void {}
281281
282282 /**
283- * @param callable(TKey, TValue): TValue $callback mixed callback mixedkey mixedvalue A callable
284- * to apply to each value in the map. The callback should return what the value should be
285- * replaced by.
283+ * @param callable(TKey, TValue): TValue $callback
284+ * <code>callback ( mixed $key , mixed $value ): mixed</code>
285+ * <br/>A callable to apply to each value in the map. The callback should return what the value
286+ * should be replaced by.
286287 */
287288 public function apply (callable $ callback ): void {}
288289
@@ -304,9 +305,11 @@ public function count(): int {}
304305 public function diff (Map $ map ): Map {}
305306
306307 /**
307- * @param null|callable(TKey, TValue): bool $callback bool callback mixedkey mixedvalue Optional
308- * callable which returns true if the pair should be included, false otherwise. If a callback is
309- * not provided, only values which are true (see converting to boolean) will be included.
308+ * @param null|callable(TKey, TValue): bool $callback
309+ * <code>callback ( mixed $key , mixed $value ): bool</code>
310+ * <br/>Optional callable which returns true if the pair should be included, false otherwise. If
311+ * a callback is not provided, only values which are true (see converting to boolean) will be
312+ * included.
310313 * @return Map<TKey, TValue> A new map containing all the pairs for which either the callback
311314 * returned true, or all values that convert to true if a callback was not provided.
312315 */
@@ -382,9 +385,10 @@ public function last(): Pair {}
382385
383386 /**
384387 * @template TReturn
385- * @param callable(TKey, TValue): TReturn $callback mixed callback mixedkey mixedvalue A
386- * callable to apply to each value in the map. The callable should return what the key will be
387- * mapped to in the resulting map.
388+ * @param callable(TKey, TValue): TReturn $callback
389+ * <code>callback ( mixed $key , mixed $value ): mixed</code>
390+ * <br/>A callable to apply to each value in the map. The callable should return what the key
391+ * will be mapped to in the resulting map.
388392 * @return Map<TKey, TReturn> The result of applying a callback to each value in the map. The
389393 * keys and values of the current instance won't be affected.
390394 */
@@ -415,10 +419,12 @@ public function putAll($values): void {}
415419 /**
416420 * @template TInitial
417421 * @template TReturn
418- * @param callable(TInitial|TReturn|null, TKey, TValue): TReturn $callback mixedcallback
419- * mixedcarry mixedkey mixedvalue carry The return value of the previous callback, or initial if
420- * it's the first iteration. key The key of the current iteration. value The value of the
421- * current iteration.
422+ * @param callable(TInitial|TReturn|null, TKey, TValue): TReturn $callback
423+ * <code>callback ( mixed $carry , mixed $key , mixed $value ): mixed</code>
424+ * <br/>$carry - The return value of the previous callback, or initial if it's the first
425+ * iteration.
426+ * <br/>$key - The key of the current iteration.
427+ * <br/>$value - The value of the current iteration.
422428 * @param TInitial|null $initial The initial value of the carry value. Can be null.
423429 * @return TReturn|null The return value of the final callback.
424430 */
@@ -591,9 +597,11 @@ public function count(): int {}
591597 public function diff (Set $ set ): Set {}
592598
593599 /**
594- * @param null|callable(TValue): bool $callback bool callback mixedvalue Optional callable which
595- * returns true if the value should be included, false otherwise. If a callback is not provided,
596- * only values which are true (see converting to boolean) will be included.
600+ * @param null|callable(TValue): bool $callback
601+ * <code>callback ( mixed $value ): bool</code>
602+ * <br/>Optional callable which returns true if the value should be included, false otherwise.
603+ * If a callback is not provided, only values which are true (see converting to boolean) will be
604+ * included.
597605 * @return Set<TValue> A new set containing all the values for which either the callback
598606 * returned true, or all values that convert to true if a callback was not provided.
599607 */
@@ -632,7 +640,8 @@ public function last() {}
632640 /**
633641 * @template TReturn
634642 * @param callable(TValue): TReturn $callback The callback to apply to each value in the set
635- * must have the following signature: mixed callback mixedvalue
643+ * must have the following signature:
644+ * <code>callback ( mixed $value ): mixed</code>
636645 * @return Set<TReturn> Returns a new Ds\Set instance where each value is the result of applying
637646 * the callback to each value of the set.
638647 */
@@ -649,9 +658,11 @@ public function merge($values): Set {}
649658 /**
650659 * @template TInitial
651660 * @template TReturn
652- * @param callable(TInitial|TReturn|null, TValue): TReturn $callback mixedcallback mixedcarry
653- * mixedvalue carry The return value of the previous callback, or initial if it's the first
654- * iteration. value The value of the current iteration.
661+ * @param callable(TInitial|TReturn|null, TValue): TReturn $callback
662+ * <code>callback ( mixed $carry , mixed $value ): mixed</code>
663+ * <br/>$carry - The return value of the previous callback, or initial if it's the first
664+ * iteration.
665+ * <br/>$value - The value of the current iteration.
655666 * @param TInitial|null $initial The initial value of the carry value. Can be null.
656667 * @return TReturn|null The return value of the final callback.
657668 */
0 commit comments