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::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 5
rs 9.4286
cc 1
eloc 3
nc 1
nop 2
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