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.

BaseRepositoryEventsTrait::onRestoring()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Milkmeowo\Framework\Base\Traits;
4
5
/**
6
 * Whenever a new model is saved for the first time,
7
 * the creating and created events will fire.
8
 * If a model already existed in the database and the save method is called,
9
 * the updating / updated events will fire.
10
 * However, in both cases, the saving / saved events will fire.
11
 *
12
 * @CREATE: saving > creating > created > saved
13
 * @UPDATE: saving > updating > updated > saved
14
 * @DELETE: deleting > deleted
15
 * @RESTORE: restoring > restored
16
 */
17
trait BaseRepositoryEventsTrait
18
{
19
    public function onCreating()
20
    {
21
    }
22
23
    public function onCreated()
24
    {
25
    }
26
27
    public function onUpdating()
28
    {
29
    }
30
31
    public function onUpdated()
32
    {
33
    }
34
35
    public function onSaving()
36
    {
37
    }
38
39
    public function onSaved()
40
    {
41
    }
42
43
    public function onDeleting()
44
    {
45
    }
46
47
    public function onDeleted()
48
    {
49
    }
50
51
    public function onRestoring()
52
    {
53
    }
54
55
    public function onRestored()
56
    {
57
    }
58
}
59