@@ -14,6 +14,9 @@ |
||
14 | 14 | /** @var Table */ |
15 | 15 | private $foreign; |
16 | 16 | |
17 | + /** |
|
18 | + * @param \keeko\tools\services\CommandService $service |
|
19 | + */ |
|
17 | 20 | public function __construct($service, Table $model, Table $foreign) { |
18 | 21 | parent::__construct($service); |
19 | 22 | $this->model = $model; |
@@ -87,7 +87,7 @@ |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @return PackageSchema |
|
90 | + * @return \keeko\framework\schema\PackageSchema |
|
91 | 91 | */ |
92 | 92 | protected function getPackage() { |
93 | 93 | return $this->package; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | abstract public function show(); |
26 | 26 | |
27 | 27 | /** |
28 | - * @return HelperSet |
|
28 | + * @return \Symfony\Component\Console\Helper\HelperSet|null |
|
29 | 29 | */ |
30 | 30 | protected function getHelperSet() { |
31 | 31 | return $this->command->getHelperSet(); |
@@ -91,6 +91,9 @@ |
||
91 | 91 | ; |
92 | 92 | } |
93 | 93 | |
94 | + /** |
|
95 | + * @param string $name |
|
96 | + */ |
|
94 | 97 | protected function runCommand($name, InputInterface $input, OutputInterface $output) { |
95 | 98 | // return whether command has already executed |
96 | 99 | $app = $this->getApplication(); |
@@ -91,6 +91,9 @@ |
||
91 | 91 | ; |
92 | 92 | } |
93 | 93 | |
94 | + /** |
|
95 | + * @param string $name |
|
96 | + */ |
|
94 | 97 | protected function runCommand($name, InputInterface $input, OutputInterface $output) { |
95 | 98 | // return whether command has already executed |
96 | 99 | $app = $this->getApplication(); |
@@ -246,6 +246,9 @@ |
||
246 | 246 | return $action; |
247 | 247 | } |
248 | 248 | |
249 | + /** |
|
250 | + * @param string $type |
|
251 | + */ |
|
249 | 252 | private function generateRelationshipAction(Relationship $relationship, $type) { |
250 | 253 | $model = $relationship->getModel(); |
251 | 254 | $module = $this->package->getKeeko()->getModule(); |
@@ -76,6 +76,9 @@ |
||
76 | 76 | return $models; |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @return Project |
|
81 | + */ |
|
79 | 82 | private function getProject($packageName = null) { |
80 | 83 | if ($this->prj === null) { |
81 | 84 | if ($packageName === null) { |
@@ -98,7 +98,6 @@ discard block |
||
98 | 98 | * Creates a generator for the given json respose |
99 | 99 | * |
100 | 100 | * @param string $type |
101 | - * @param CommandService $this->service |
|
102 | 101 | * @return AbstractModelJsonResponderGenerator |
103 | 102 | */ |
104 | 103 | public function createModelJsonResponderGenerator($type) { |
@@ -124,7 +123,6 @@ discard block |
||
124 | 123 | * Creates a new package generator |
125 | 124 | * |
126 | 125 | * @param string $type |
127 | - * @param CommandService $this->serivce |
|
128 | 126 | * @return AbstractPackageGenerator |
129 | 127 | */ |
130 | 128 | public function createPackageGenerator($type) { |