From 17d67f528e04cbfca6a257cd568c29a594a9d757 Mon Sep 17 00:00:00 2001 From: masterfermin02 Date: Sun, 21 Mar 2021 01:00:08 -0400 Subject: [PATCH] Fixed small issue --- src/any.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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) {