Completed
Pull Request — develop (#167)
by Robbie
06:52 queued 02:20
created
src/bootstrap.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -3,6 +3,10 @@
 block discarded – undo
3 3
 if (!class_exists('N98_Magerun_Bootstrap')) {
4 4
     class N98_Magerun_Bootstrap
5 5
     {
6
+
7
+        /**
8
+         * @param string $file
9
+         */
6 10
         public static function includeIfExists($file)
7 11
         {
8 12
             if (file_exists($file)) {
Please login to merge, or discard this patch.
src/N98/Magento/Application.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     }
148 148
 
149 149
     /**
150
-     * @return \Symfony\Component\Console\Input\InputDefinition|void
150
+     * @return \Symfony\Component\Console\Input\InputDefinition
151 151
      */
152 152
     protected function getDefaultInputDefinition()
153 153
     {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
      * @TODO Move logic into "EventSubscriber"
388 388
      *
389 389
      * @param OutputInterface $output
390
-     * @return bool
390
+     * @return null|false
391 391
      */
392 392
     public function checkVarDir(OutputInterface $output)
393 393
     {
Please login to merge, or discard this patch.
src/N98/Magento/Command/AbstractMagentoCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * @param array $codeArgument
85 85
      * @param bool  $status
86
-     * @return bool
86
+     * @return boolean|null
87 87
      */
88 88
     protected function saveCacheStatus($codeArgument, $status)
89 89
     {
@@ -288,8 +288,8 @@  discard block
 block discarded – undo
288 288
     /**
289 289
      * brings locally cached repository up to date if it is missing the requested tag
290 290
      *
291
-     * @param $package
292
-     * @param $targetFolder
291
+     * @param PackageInterface $package
292
+     * @param string $targetFolder
293 293
      */
294 294
     protected function checkRepository($package, $targetFolder)
295 295
     {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/Module/CreateCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @param $configBag
146
+     * @param ConfigBag $configBag
147 147
      */
148 148
     private function initConfigBagDefaultValues($configBag)
149 149
     {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/SubCommand/InstallMagento.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
     }
253 253
 
254 254
     /**
255
-     * @param array $installArgs
255
+     * @param string $installArgs
256 256
      *
257 257
      * @throws \Exception
258 258
      */
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/SubCommand/InstallSampleData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/SubCommand/RewriteHtaccessFile.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 class RewriteHtaccessFile extends AbstractSubCommand
8 8
 {
9 9
     /**
10
-     * @return bool
10
+     * @return boolean|null
11 11
      */
12 12
     public function execute()
13 13
     {
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
         $this->_replaceContent($htaccessFile, $baseUrl);
54 54
     }
55 55
 
56
+    /**
57
+     * @param string $htaccesFile
58
+     */
56 59
     protected function _backupOriginalFile($htaccesFile)
57 60
     {
58 61
         copy(
Please login to merge, or discard this patch.
src/N98/Magento/Command/Script/Repository/ScriptLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     /**
79 79
      * Reads the first line. If it's a comment return it.
80 80
      *
81
-     * @param $file
81
+     * @param string $file
82 82
      *
83 83
      * @return string
84 84
      */
Please login to merge, or discard this patch.
src/N98/Magento/Command/ScriptCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * @param InputInterface $input
256 256
      * @param OutputInterface $output
257
-     * @param $commandString
257
+     * @param string $commandString
258 258
      * @throws \RuntimeException
259 259
      */
260 260
     protected function runMagerunCommand(InputInterface $input, OutputInterface $output, $commandString)
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
 
271 271
     /**
272 272
      * @param string $commandString
273
-     * @return mixed|string
273
+     * @return string
274 274
      */
275 275
     protected function _prepareShellCommand($commandString)
276 276
     {
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
 
321 321
     /**
322 322
      * @param $commandString
323
-     * @return mixed
323
+     * @return string
324 324
      */
325 325
     protected function _replaceScriptVars($commandString)
326 326
     {
Please login to merge, or discard this patch.