1 | <?php |
||
16 | class AlterReference extends ReferenceOperation |
||
17 | { |
||
18 | use OptionsTrait; |
||
19 | |||
20 | /** |
||
21 | * Some options has set of aliases. |
||
22 | * |
||
23 | * @var array |
||
24 | */ |
||
25 | private $aliases = [ |
||
|
|||
26 | 'onDelete' => ['delete'], |
||
27 | 'onUpdate' => ['update'] |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $foreignTable = ''; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $foreignKey = ''; |
||
39 | |||
40 | /** |
||
41 | * AddReference constructor. |
||
42 | * |
||
43 | * @param string|null $database |
||
44 | * @param string $table |
||
45 | * @param string $column |
||
46 | * @param string $foreignTable |
||
47 | * @param string $foreignKey |
||
48 | * @param array $options |
||
49 | */ |
||
50 | public function __construct( |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function execute(CapsuleInterface $capsule) |
||
111 | } |
This check marks private properties in classes that are never used. Those properties can be removed.