@@ -279,7 +279,7 @@ |
||
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | /** |
| 282 | - * @param $migrationPath |
|
| 282 | + * @param string $migrationPath |
|
| 283 | 283 | * @return mixed |
| 284 | 284 | */ |
| 285 | 285 | protected function includeMigration($migrationPath) |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * Create a migration table |
| 69 | 69 | * |
| 70 | - * @return bool |
|
| 70 | + * @return boolean|null |
|
| 71 | 71 | */ |
| 72 | 72 | public function createTable() |
| 73 | 73 | { |
@@ -117,7 +117,6 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * Get a last migration |
| 119 | 119 | * |
| 120 | - * @param bool $isShow Show sql queries |
|
| 121 | 120 | * @return string |
| 122 | 121 | */ |
| 123 | 122 | public function get(array $where = []) |
@@ -265,6 +264,9 @@ discard block |
||
| 265 | 264 | |
| 266 | 265 | } |
| 267 | 266 | |
| 267 | + /** |
|
| 268 | + * @param string $query |
|
| 269 | + */ |
|
| 268 | 270 | protected function executeInPerconaTool($query, $dbConfig): bool |
| 269 | 271 | { |
| 270 | 272 | if (stristr($query, 'ALTER TABLE') && $this->percona) { |