Browse Source

Fix phpcs errors.

Mark Story 6 years ago
parent
commit
6fbb343186
3 changed files with 1 additions and 3 deletions
  1. 0 1
      src/Error/Debug/ConsoleFormatter.php
  2. 0 1
      src/Error/Debug/TextFormatter.php
  3. 1 1
      tests/bootstrap.php

+ 0 - 1
src/Error/Debug/ConsoleFormatter.php

@@ -185,7 +185,6 @@ class ConsoleFormatter implements FormatterInterface
                 $this->style('punct', ' {}');
         }
 
-        /** @var \Cake\Error\Debug\ClassNode $var */
         $out = $this->style('punct', 'object(') .
             $this->style('class', $var->getValue()) .
             $this->style('punct', ') id:') .

+ 0 - 1
src/Error/Debug/TextFormatter.php

@@ -114,7 +114,6 @@ class TextFormatter implements FormatterInterface
             return "object({$var->getValue()}) id:{$var->getId()} {}";
         }
 
-        /** @var \Cake\Error\Debug\ClassNode $var */
         $out .= "object({$var->getValue()}) id:{$var->getId()} {";
         $break = "\n" . str_repeat("  ", $indent);
         $end = "\n" . str_repeat("  ", $indent - 1) . '}';

+ 1 - 1
tests/bootstrap.php

@@ -17,8 +17,8 @@ use Cake\Cache\Cache;
 use Cake\Chronos\Chronos;
 use Cake\Core\Configure;
 use Cake\Datasource\ConnectionManager;
-use Cake\Error\Debugger;
 use Cake\Error\Debug\TextFormatter;
+use Cake\Error\Debugger;
 use Cake\Log\Log;
 use Cake\Utility\Security;