@@ -51,7 +51,7 @@ |
||
51 | 51 | * |
52 | 52 | * @param Bootstrap $bootstrap |
53 | 53 | * @param \Exception $exception |
54 | - * @return bool |
|
54 | + * @return boolean|null |
|
55 | 55 | */ |
56 | 56 | public function catchException(Bootstrap $bootstrap, \Exception $exception) |
57 | 57 | { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * |
52 | 52 | * @param Bootstrap $bootstrap |
53 | 53 | * @param \Exception $exception |
54 | - * @return bool |
|
54 | + * @return boolean|null |
|
55 | 55 | */ |
56 | 56 | public function catchException(Bootstrap $bootstrap, \Exception $exception) |
57 | 57 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class InstallSampleData extends AbstractSubCommand |
10 | 10 | { |
11 | 11 | /** |
12 | - * @return bool |
|
12 | + * @return false|null |
|
13 | 13 | */ |
14 | 14 | public function execute() |
15 | 15 | { |
@@ -222,9 +222,9 @@ |
||
222 | 222 | * @param OutputInterface $output |
223 | 223 | * @param string $name |
224 | 224 | * @param string $value |
225 | - * @param Constraints\Collection|Constraint|Constraint[] $constraints The constraint(s) to validate against. |
|
225 | + * @param Constraints\Collection $constraints The constraint(s) to validate against. |
|
226 | 226 | * |
227 | - * @return mixed |
|
227 | + * @return string |
|
228 | 228 | */ |
229 | 229 | protected function _validateArgument(OutputInterface $output, $name, $value, $constraints) |
230 | 230 | { |
@@ -91,7 +91,7 @@ |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @param $body |
|
94 | + * @param string $body |
|
95 | 95 | * @return array |
96 | 96 | */ |
97 | 97 | private function createClassMethodDefinitions($body) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace N98\Magento\Command\Developer\Console; |
4 | 4 | |
5 | 5 | use Magento\Framework\Controller\ResultFactory; |
6 | -use Magento\Framework\Module\Dir; |
|
7 | 6 | use Symfony\Component\Console\Input\InputArgument; |
8 | 7 | use Symfony\Component\Console\Input\InputInterface; |
9 | 8 | use Symfony\Component\Console\Input\InputOption; |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | /** |
322 | 322 | * @param InputInterface $input |
323 | 323 | * @param OutputInterface $output |
324 | - * @param $questionHelper |
|
324 | + * @param QuestionHelper $questionHelper |
|
325 | 325 | * @param DDLTable $table |
326 | 326 | * @return void |
327 | 327 | */ |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | /** |
344 | 344 | * @param InputInterface $input |
345 | 345 | * @param OutputInterface $output |
346 | - * @param $questionHelper |
|
346 | + * @param QuestionHelper $questionHelper |
|
347 | 347 | * @param DDLTable $column |
348 | 348 | * @return void |
349 | 349 | */ |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use N98\Magento\Command\Developer\Console\Exception\NoModuleDefinedException; |
6 | 6 | use N98\Util\BinaryString; |
7 | -use Psy\Configuration; |
|
8 | 7 | use Psy\Exception\ErrorException; |
9 | 8 | use Psy\Exception\FatalErrorException; |
10 | 9 | use Psy\Exception\ParseErrorException; |
@@ -104,7 +104,7 @@ |
||
104 | 104 | */ |
105 | 105 | public function setPrompt($prompt) |
106 | 106 | { |
107 | - $this->prompt = $prompt; |
|
107 | + $this->prompt = $prompt; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @param array|DDLTableColumn[] $columnDefinitions |
|
80 | + * @param DDLTableColumn[] $columnDefinitions |
|
81 | 81 | */ |
82 | 82 | public function setColumns($columnDefinitions) |
83 | 83 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
107 | - * @return null |
|
107 | + * @return boolean |
|
108 | 108 | */ |
109 | 109 | public function getUnsigned() |
110 | 110 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param null $unsigned |
|
115 | + * @param boolean|string $unsigned |
|
116 | 116 | */ |
117 | 117 | public function setUnsigned($unsigned) |
118 | 118 | { |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * @return null |
|
139 | + * @return boolean |
|
140 | 140 | */ |
141 | 141 | public function getIdentity() |
142 | 142 | { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |
147 | - * @param null $identity |
|
147 | + * @param boolean $identity |
|
148 | 148 | */ |
149 | 149 | public function setIdentity($identity) |
150 | 150 | { |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
155 | - * @return null |
|
155 | + * @return boolean |
|
156 | 156 | */ |
157 | 157 | public function getPrimary() |
158 | 158 | { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | } |
161 | 161 | |
162 | 162 | /** |
163 | - * @param null $primary |
|
163 | + * @param boolean $primary |
|
164 | 164 | */ |
165 | 165 | public function setPrimary($primary) |
166 | 166 | { |