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.
Completed
Push — doctrine ( 5ffbb0 )
by Márk
03:34
created

DropCommand::getSql()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace Bernard\Driver\Doctrine\Command;
4
5
use Doctrine\DBAL\Schema\Schema;
6
use Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer as Synchronizer;
7
8
/**
9
 * @package Bernard
10
 */
11
class DropCommand extends AbstractCommand
12
{
13
    public function __construct()
14
    {
15
        parent::__construct('drop');
16
    }
17
18
    /**
19
     * {@inheritDoc}
20
     */
21
    protected function getSql(Synchronizer $sync, Schema $schema)
22
    {
23
        return $sync->getDropSchema($schema);
24
    }
25
26
    /**
27
     * {@inheritDoc}
28
     */
29
    protected function applySql(Synchronizer $sync, Schema $schema)
30
    {
31
        $sync->dropSchema($schema);
32
    }
33
}
34