diff --git a/src/any.php b/src/any.php index eebb3f8..948a369 100644 --- a/src/any.php +++ b/src/any.php @@ -10,15 +10,15 @@ * @return bool * * @example - Slash\any([1, 3, 5], 'Slash\isOdd'); // === true - - Slash\any([1, 3, 5], function ($n) { return $n != 3; }); // === true - - Slash\any([], 'Slash\isOdd'); // === false - - Slash\any([2, 4, 8], 'Slash\isOdd'); // === false - - Slash\any((object) ['a' => 1, 'b' => 3, 'c' => 5], 'Slash\isOdd'); // === true + * Slash\any([1, 3, 5], 'Slash\isOdd'); // === true + * + * Slash\any([1, 3, 5], function ($n) { return $n != 3; }); // === true + * + * Slash\any([], 'Slash\isOdd'); // === false + * + * Slash\any([2, 4, 8], 'Slash\isOdd'); // === false + * + * Slash\any((object) ['a' => 1, 'b' => 3, 'c' => 5], 'Slash\isOdd'); // === true */ function any($array, $predicate) {