Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -2178,6 +2178,8 @@ public static function validArrayKey(mixed $value, string|callable $message = ''
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @throws InvalidArgumentException
Expand All @@ -2201,6 +2203,8 @@ public static function count(mixed $array, mixed $number, string|callable $messa
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @throws InvalidArgumentException
Expand All @@ -2223,6 +2227,8 @@ public static function minCount(mixed $array, mixed $min, string|callable $messa
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @throws InvalidArgumentException
Expand All @@ -2245,6 +2251,8 @@ public static function maxCount(mixed $array, mixed $max, string|callable $messa
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @throws InvalidArgumentException
Expand Down
24 changes: 24 additions & 0 deletions src/Mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5139,6 +5139,8 @@ public static function allNullOrValidArrayKey(mixed $value, callable|string $mes
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5153,6 +5155,8 @@ public static function nullOrCount(mixed $array, mixed $number, callable|string
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5171,6 +5175,8 @@ public static function allCount(mixed $array, mixed $number, callable|string $me
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5189,6 +5195,8 @@ public static function allNullOrCount(mixed $array, mixed $number, callable|stri
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5203,6 +5211,8 @@ public static function nullOrMinCount(mixed $array, mixed $min, callable|string
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5221,6 +5231,8 @@ public static function allMinCount(mixed $array, mixed $min, callable|string $me
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5239,6 +5251,8 @@ public static function allNullOrMinCount(mixed $array, mixed $min, callable|stri
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5253,6 +5267,8 @@ public static function nullOrMaxCount(mixed $array, mixed $max, callable|string
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5271,6 +5287,8 @@ public static function allMaxCount(mixed $array, mixed $max, callable|string $me
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5289,6 +5307,8 @@ public static function allNullOrMaxCount(mixed $array, mixed $max, callable|stri
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5303,6 +5323,8 @@ public static function nullOrCountBetween(mixed $array, mixed $min, mixed $max,
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand All @@ -5321,6 +5343,8 @@ public static function allCountBetween(mixed $array, mixed $min, mixed $max, cal
}

/**
* @psalm-pure
*
* @param string|callable():string $message
*
* @return mixed
Expand Down
Loading