@@ -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) |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * Create a migration table |
| 61 | 61 | * |
| 62 | - * @return bool |
|
| 62 | + * @return boolean|null |
|
| 63 | 63 | */ |
| 64 | 64 | public function createTable() |
| 65 | 65 | { |
@@ -109,7 +109,6 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Get a last migration |
| 111 | 111 | * |
| 112 | - * @param bool $isShow Show sql queries |
|
| 113 | 112 | * @return string |
| 114 | 113 | */ |
| 115 | 114 | public function get(array $where = []) |
@@ -251,6 +250,9 @@ discard block |
||
| 251 | 250 | } |
| 252 | 251 | } |
| 253 | 252 | |
| 253 | + /** |
|
| 254 | + * @param string $query |
|
| 255 | + */ |
|
| 254 | 256 | protected function executeInPerconaTool($query, $dbConfig): bool |
| 255 | 257 | { |
| 256 | 258 | if (stristr($query, 'ALTER TABLE') && $this->percona) { |