Browse Source

phpcs fixes

AD7six 11 years ago
parent
commit
4322e97793
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/TestSuite/Stub/ConsoleOutput.php

+ 4 - 4
src/TestSuite/Stub/ConsoleOutput.php

@@ -41,18 +41,18 @@ class ConsoleOutput extends ConsoleOutputBase
     /**
      * Write output to the buffer.
      *
-     * @param string $message The message to write.
-     * @param int $newline
+     * @param string|array $message A string or an array of strings to output
+     * @param int $newlines Number of newlines to append
      * @return void
      */
     public function write($message, $newlines = 1)
     {
-        foreach((array)$message as $line) {
+        foreach ((array)$message as $line) {
             $this->_out[] = $line;
         }
 
         $newlines--;
-        while($newlines > 0) {
+        while ($newlines > 0) {
             $this->_out[] = '';
             $newlines--;
         }