Passed
Pull Request — main (#22)
by Andrey
13:21
created

Arr   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

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