Passed
Push — master ( 8f1e40...8f3027 )
by Korotkov
02:03 queued 13s
created

RudraFacade::__callStatic()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * @author    : Jagepard <[email protected]">
7
 * @license   https://mit-license.org/ MIT
8
 */
9
10
namespace Rudra\Container\Facades;
11
12
use Rudra\Container\Rudra;
13
14
final class RudraFacade
15
{
16
    public static function __callStatic($method, $parameters = [])
17
    {
18
        return Rudra::run()->$method(...$parameters);
19
    }
20
}
21