@@ -63,6 +63,9 @@ |
||
| 63 | 63 | $this->io = $io; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string $filter |
|
| 68 | + */ |
|
| 66 | 69 | public function setupOptions($options, &$filter) |
| 67 | 70 | { |
| 68 | 71 | if (isset($options['no-foreign-keys'])) { |
@@ -23,6 +23,9 @@ discard block |
||
| 23 | 23 | private $skipOnErrors = false; |
| 24 | 24 | private $migrations; |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @param string $itemType |
|
| 28 | + */ |
|
| 26 | 29 | public function skip($itemType) |
| 27 | 30 | { |
| 28 | 31 | $this->skippedItemTypes[] = $itemType; |
@@ -41,6 +44,9 @@ discard block |
||
| 41 | 44 | $this->dryRun = $dryRun; |
| 42 | 45 | } |
| 43 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $itemType |
|
| 49 | + */ |
|
| 44 | 50 | public function allowOnly($itemType) |
| 45 | 51 | { |
| 46 | 52 | $this->allowedItemTypes[] = $itemType; |
@@ -70,6 +76,9 @@ discard block |
||
| 70 | 76 | $this->migration = $migration; |
| 71 | 77 | } |
| 72 | 78 | |
| 79 | + /** |
|
| 80 | + * @param string[] $matches |
|
| 81 | + */ |
|
| 73 | 82 | private function performOperation($method, $matches, $arguments) |
| 74 | 83 | { |
| 75 | 84 | try { |
@@ -4,5 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface CommandInterface |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return null|\yentu\SchemaDescription |
|
| 9 | + */ |
|
| 7 | 10 | public function run($args); |
| 8 | 11 | } |
| 9 | 12 | \ No newline at end of file |