@@ -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 | { |
@@ -64,6 +64,9 @@ |
||
64 | 64 | return $this; |
65 | 65 | } |
66 | 66 | |
67 | + /** |
|
68 | + * @param string $filename |
|
69 | + */ |
|
67 | 70 | public function save($filename, $options = null) |
68 | 71 | { |
69 | 72 | if (parent::save($filename, $options)) { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * @param \SimpleXMLElement $xml |
25 | 25 | * @param string $path |
26 | 26 | * |
27 | - * @return \SimpleXMLElement|\SimpleXMLElement[] |
|
27 | + * @return \SimpleXMLElement |
|
28 | 28 | * |
29 | 29 | * @link https://github.com/astorm/pestle |
30 | 30 | * @copyright Pulse Storm LLC, Alan Storm |
@@ -67,7 +67,7 @@ |
||
67 | 67 | $output, |
68 | 68 | $appDirWriter, |
69 | 69 | $relativePath, |
70 | - ucfirst($input->getArgument('package')) . ' '. $input->getArgument('name') |
|
70 | + ucfirst($input->getArgument('package')) . ' ' . $input->getArgument('name') |
|
71 | 71 | ); |
72 | 72 | } |
73 | 73 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | throw new RuntimeException('A magento installation already exists in this folder'); |
41 | 41 | } |
42 | 42 | |
43 | - $args = new ProcessArguments(array($this->config['composer_bin'], 'create-project', )); |
|
43 | + $args = new ProcessArguments(array($this->config['composer_bin'], 'create-project',)); |
|
44 | 44 | $args |
45 | 45 | // Add composer options |
46 | 46 | ->addArgs($package['options']) |