GetScores::onPostLoop()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace eXpansion\Framework\GameManiaplanet\ScriptMethods;
4
5
use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceExpTimer;
6
use eXpansion\Framework\Core\ScriptMethods\AbstractScriptMethod;
7
8
/**
9
 * Class GetScores
10
 *
11
 * @author    de Cramer Oliver<[email protected]>
12
 * @copyright 2017 eXpansion
13
 * @package eXpansion\Framework\GameManiaplanet\ScriptMethods
14
 */
15
class GetScores extends AbstractScriptMethod implements ListenerInterfaceExpTimer
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    public function onPreLoop()
21
    {
22
        $this->currentData = null;
23
    }
24
25
    /**
26
     * @inheritdoc
27
     */
28
    public function onPostLoop()
29
    {
30
        // Nothing.
31
    }
32
33
    /**
34
     * @inheritdoc
35
     */
36
    public function onEverySecond()
37
    {
38
        // Nothing.
39
    }
40
}
41