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.

TableEvent   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 21
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getTable() 0 4 1
A getSql() 0 4 1
1
<?php
2
3
namespace Rentgen\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
use Rentgen\Database\Table;
7
8
class TableEvent extends Event
9
{
10
    private $table;
11
    private $sql;
12
13
    public function __construct(Table $table, $sql)
14
    {
15
        $this->table = $table;
16
        $this->sql = $sql;
17
    }
18
19
    public function getTable()
20
    {
21
        return $this->table;
22
    }
23
24
    public function getSql()
25
    {
26
        return $this->sql;
27
    }
28
}
29