GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Provider::setCaller()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 2
eloc 2
nc 2
nop 1
1
<?php
2
3
namespace Saltwater\Salt;
4
5
/**
6
 * Providers encapsulate business logic
7
 *
8
 * @package Saltwater\Salt
9
 */
10
abstract class Provider
11
{
12
    /** @var string */
13
    protected static $module;
14
15
    /** @var string */
16
    protected static $caller;
17
18
    /**
19
     * @param string $module
20
     */
21
    public static function setModule($module)
22
    {
23
        self::$module = $module;
24
    }
25
26
    /**
27
     * @param string $caller
28
     */
29
    public static function setCaller($caller)
30
    {
31
        self::$caller = empty($caller) ? 'root' : $caller;
32
    }
33
}
34