mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-19 04:58:41 +00:00
Add docblocks for phpstan tests
This commit is contained in:
parent
1bf1e6da3b
commit
efb6421289
|
|
@ -202,6 +202,7 @@ class MultiMap implements \Countable
|
|||
{
|
||||
if (\is_array($key)) {
|
||||
if ($this->orderType === OrderType::LOOSE) {
|
||||
/** @var array<array<string>> $keys */
|
||||
$keys = Permutation::permut($key, [], false);
|
||||
|
||||
foreach ($keys as $key => $value) {
|
||||
|
|
@ -251,6 +252,7 @@ class MultiMap implements \Countable
|
|||
private function setMultiple($key, $value) : bool
|
||||
{
|
||||
if ($this->orderType !== OrderType::STRICT) {
|
||||
/** @var array<array<string>> $permutation */
|
||||
$permutation = Permutation::permut($key, [], false);
|
||||
|
||||
foreach ($permutation as $permut) {
|
||||
|
|
@ -317,6 +319,7 @@ class MultiMap implements \Countable
|
|||
return $this->remove(\implode(':', $key));
|
||||
}
|
||||
|
||||
/** @var array $keys */
|
||||
$keys = Permutation::permut($key, [], false);
|
||||
$found = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user