Completed
Pull Request — master (#965)
by
unknown
07:36
created
src/N98/Magento/Command/Config/GetCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@
 block discarded – undo
154 154
             ->renderByFormat($output, $formattedTable, $format);
155 155
     }
156 156
 
157
+    /**
158
+     * @param string $format
159
+     */
157 160
     private function renderTableValue($value, $format)
158 161
     {
159 162
         if ($value === null) {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Customer/CreateDummyCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@
 block discarded – undo
132 132
         }
133 133
     }
134 134
 
135
+    /**
136
+     * @param \Faker\Generator $faker
137
+     */
135 138
     private function createAddress($faker)
136 139
     {
137 140
         $country = $this->getCountryCollection()
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/AbstractDatabaseCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * @param $name
35 35
      *
36
-     * @return mixed
36
+     * @return \PDO|null
37 37
      */
38 38
     public function __get($name)
39 39
     {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/DumpCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-     * @param array $execs
325
+     * @param string[] $execs
326 326
      * @param string $fileName
327 327
      * @param InputInterface $input
328 328
      * @param OutputInterface $output
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
 
525 525
     /**
526 526
      * @param null|bool|string $optionAddTime [optional] true for default "suffix", other string values: "prefix", "no"
527
-     * @return array
527
+     * @return string[]
528 528
      */
529 529
     private function getFileNamePrefixSuffix($optionAddTime = null)
530 530
     {
Please login to merge, or discard this patch.
build/phar/_cli_stub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
         fwrite(STDERR, implode(PHP_EOL, array(
11 11
             'The suhosin.executor.include.whitelist setting is incorrect.',
12 12
             'Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):',
13
-            '    suhosin.executor.include.whitelist = phar '.$suhosin,
13
+            '    suhosin.executor.include.whitelist = phar ' . $suhosin,
14 14
             ''
15 15
         )));
16 16
         exit(1);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Media/Cache/Image/ClearCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     protected function configure()
12 12
     {
13 13
         $this->setName('media:cache:image:clear')
14
-             ->setDescription('Clears image cache');
14
+                ->setDescription('Clears image cache');
15 15
     }
16 16
 
17 17
     /**
Please login to merge, or discard this patch.
src/N98/Magento/Command/Media/Cache/JsCss/ClearCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     protected function configure()
12 12
     {
13 13
         $this->setName('media:cache:jscss:clear')
14
-             ->setDescription('Clears JS/CSS cache');
14
+                ->setDescription('Clears JS/CSS cache');
15 15
     }
16 16
 
17 17
     /**
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/Ide/PhpStorm2017/MetaCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                     if (preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $class)) {
43 43
                         $map .= "            '$classPrefix' instanceof \\$class,\n";
44 44
                     } else {
45
-                        $output->writeln('<warning>Invalid class name <comment>'.$class.'</comment> ignored</warning>');
45
+                        $output->writeln('<warning>Invalid class name <comment>' . $class . '</comment> ignored</warning>');
46 46
                     }
47 47
                 }
48 48
                 $map .= "        ], \n";
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
                     }
67 67
                 }
68 68
                 $group = str_replace(array(' ', '/'), '_', $group);
69
-                if (\file_put_contents($this->_magentoRootFolder . '/.phpstorm.meta.php/magento_'.$group.'.meta.php', $map)) {
70
-                    $output->writeln('<info>File <comment>.phpstorm.meta.php/magento_'.$group.'.meta.php</comment> generated</info>');
69
+                if (\file_put_contents($this->_magentoRootFolder . '/.phpstorm.meta.php/magento_' . $group . '.meta.php', $map)) {
70
+                    $output->writeln('<info>File <comment>.phpstorm.meta.php/magento_' . $group . '.meta.php</comment> generated</info>');
71 71
                 }
72 72
             }
73 73
         }
Please login to merge, or discard this patch.