CollectDados::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Gamer\Processing;
4
5
use Log;
6
use App\Models\User;
7
8
class CollectDados
9
{
10
    
11
    public function __construct()
12
    {
13
        
14
    }
15
16
    public function run()
17
    {
18
        $this->byPeriod();
19
    }
20
21
    public function byPeriod()
22
    {
23
        
24
        // @todo Fazer
25
26
        $tablesInMysql->map(
0 ignored issues
show
Bug introduced by
The variable $tablesInMysql does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
27
            function ($table) {
0 ignored issues
show
Unused Code introduced by
The parameter $table is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
28
29
30
            }
31
        );
32
    }
33
34
}
35