Passed
Pull Request — main (#22)
by Andrey
28:59 queued 16:23
created

File   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\Filesystem;
4
5
use DirectoryIterator;
6
use Helldar\Support\Facades\BaseFacade;
7
use Helldar\Support\Helpers\Filesystem\File as Helper;
8
use SplFileInfo;
9
10
/**
11
 * @method static bool exists(string $path)
12
 * @method static bool isFile(DirectoryIterator|SplFileInfo|string $value)
13
 * @method static void delete(string|string[] $paths)
14
 * @method static void store(string $path, string $content, int $mode = 755)
15
 */
16
final class File extends BaseFacade
17
{
18
    protected static function getFacadeAccessor()
19
    {
20
        return Helper::class;
21
    }
22
}
23