Passed
Pull Request — main (#22)
by Andrey
29:13 queued 14:13
created

Arr::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Helldar\Support\Facades\Helpers;
4
5
use Helldar\Support\Facades\BaseFacade;
6
use Helldar\Support\Helpers\Arr as Helper;
7
8
/**
9
 * @method static array addUnique(array $array, $values)
10
 * @method static array except(array $array, array|string $keys)
11
 * @method static array map(array $array, callable $callback)
12
 * @method static array merge(...$arrays)
13
 * @method static array only(array $array, array|string $keys)
14
 * @method static array renameKeys(array $array, callable $callback)
15
 * @method static array renameKeysMap(array $array, array $map)
16
 * @method static array sortByKeys(array $array, array $sorter)
17
 * @method static array toArray($value = null)
18
 * @method static array wrap($value = null)
19
 * @method static bool exists(array|\ArrayAccess $array, $key)
20
 * @method static bool isArrayable($value = null)
21
 * @method static int longestStringLength(array $array)
22
 * @method static mixed get(array $array, $key, $default = null)
23
 * @method static mixed getKey(array $array, $key, $default = null)
24
 * @method static void store(array $array, string $path, bool $is_json = false, bool $sort_keys = false)
25
 * @method static void storeAsArray(string $path, array $array, bool $sort_keys = false)
26
 * @method static void storeAsJson(string $path, array $array, bool $sort_keys = false)
27
 */
28
final class Arr extends BaseFacade
29
{
30
    protected static function getFacadeAccessor()
31
    {
32
        return Helper::class;
33
    }
34
}
35