Completed
Pull Request — master (#438)
by Tomas
07:01
created
src/MageApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $dispatcher = new EventDispatcher();
47 47
         $this->setDispatcher($dispatcher);
48 48
 
49
-        $dispatcher->addListener(ConsoleEvents::ERROR, function (ConsoleErrorEvent $event) {
49
+        $dispatcher->addListener(ConsoleEvents::ERROR, function(ConsoleErrorEvent $event) {
50 50
             $output = $event->getOutput();
51 51
             $command = $event->getCommand();
52 52
             $output->writeln(sprintf('Oops, exception thrown while running command <info>%s</info>', $command->getName()));
Please login to merge, or discard this patch.
src/Command/BuiltIn/Releases/RollbackCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * Check if the provided Release ID is available in all hosts
103 103
      *
104 104
      * @param string $releaseToRollback Release ID
105
-     * @return bool
105
+     * @return string|false
106 106
      */
107 107
     protected function checkReleaseAvailability($releaseToRollback)
108 108
     {
Please login to merge, or discard this patch.
src/Runtime/Runtime.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * Retrieve a value from the Vars bag
144 144
      *
145 145
      * @param string $key Variable name
146
-     * @param mixed $default Variable default value, returned if not found
146
+     * @param boolean $default Variable default value, returned if not found
147 147
      * @return string
148 148
      */
149 149
     public function getVar($key, $default = null)
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      * Shortcut to get the the configuration option for a specific environment and merge it with
234 234
      * the global one (environment specific overrides the global one if present).
235 235
      *
236
-     * @param       $key
236
+     * @param       string $key
237 237
      * @param array $defaultEnv
238 238
      *
239 239
      * @return array
Please login to merge, or discard this patch.