ntentan /
yentu
| 1 | <?php |
||||
| 2 | namespace yentu\database; |
||||
| 3 | |||||
| 4 | class UniqueKey extends BasicKey |
||||
| 5 | { |
||||
| 6 | #[\Override] |
||||
| 7 | protected function addKey($constraint) |
||||
| 8 | { |
||||
| 9 | $this->getChangeLogger()->addUniqueKey($constraint); |
||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||
| 10 | } |
||||
| 11 | |||||
| 12 | #[\Override] |
||||
| 13 | protected function doesKeyExist($constraint) |
||||
| 14 | { |
||||
| 15 | return $this->getChangeLogger()->doesUniqueKeyExist($constraint); |
||||
|
0 ignored issues
–
show
The method
doesUniqueKeyExist() does not exist on yentu\ChangeLogger. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 16 | } |
||||
| 17 | |||||
| 18 | #[\Override] |
||||
| 19 | protected function dropKey($constraint) |
||||
| 20 | { |
||||
| 21 | $this->getChangeLogger()->dropUniqueKey($constraint); |
||||
|
0 ignored issues
–
show
The method
dropUniqueKey() does not exist on yentu\ChangeLogger. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 22 | } |
||||
| 23 | |||||
| 24 | #[\Override] |
||||
| 25 | protected function getNamePostfix() |
||||
| 26 | { |
||||
| 27 | return 'uk'; |
||||
| 28 | } |
||||
| 29 | } |
||||
| 30 | |||||
| 31 |