| @@ -33,6 +33,9 @@ | ||
| 33 | 33 | $this->logger = $output; | 
| 34 | 34 | } | 
| 35 | 35 | |
| 36 | + /** | |
| 37 | + * @param string $target | |
| 38 | + */ | |
| 36 | 39 | public function log($sourceItem, $target) | 
| 37 | 40 |      { | 
| 38 | 41 |          if (is_null($this->logger)) { | 
| @@ -100,7 +100,7 @@ | ||
| 100 | 100 | /** | 
| 101 | 101 | * @param array $nodes | 
| 102 | 102 | * @param $hookIndex | 
| 103 | - * @param $anonymousClassStatements | |
| 103 | + * @param Node[] $anonymousClassStatements | |
| 104 | 104 | * | 
| 105 | 105 | * @return array | 
| 106 | 106 | */ | 
| @@ -3,10 +3,10 @@ | ||
| 3 | 3 | namespace Spatie\Php7to5\NodeVisitors; | 
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; | 
| 6 | +use PhpParser\NodeVisitorAbstract; | |
| 6 | 7 | use PhpParser\Node\Stmt\Declare_; | 
| 7 | 8 | use PhpParser\Node\Stmt\Namespace_; | 
| 8 | 9 | use PhpParser\Node\Stmt\Use_; | 
| 9 | -use PhpParser\NodeVisitorAbstract; | |
| 10 | 10 | use Spatie\Php7to5\Converter; | 
| 11 | 11 | use Spatie\Php7to5\Exceptions\InvalidPhpCode; | 
| 12 | 12 | |
| @@ -3,8 +3,8 @@ | ||
| 3 | 3 | namespace Spatie\Php7to5\NodeVisitors; | 
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; | 
| 6 | -use PhpParser\Node\Expr\BinaryOp\Coalesce; | |
| 7 | 6 | use PhpParser\NodeVisitorAbstract; | 
| 7 | +use PhpParser\Node\Expr\BinaryOp\Coalesce; | |
| 8 | 8 | |
| 9 | 9 | class NullCoalesceReplacer extends NodeVisitorAbstract | 
| 10 | 10 |  { | 
| @@ -3,8 +3,8 @@ | ||
| 3 | 3 | namespace Spatie\Php7to5\NodeVisitors; | 
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; | 
| 6 | -use PhpParser\Node\FunctionLike; | |
| 7 | 6 | use PhpParser\NodeVisitorAbstract; | 
| 7 | +use PhpParser\Node\FunctionLike; | |
| 8 | 8 | |
| 9 | 9 | class ReturnTypesRemover extends NodeVisitorAbstract | 
| 10 | 10 |  { | 
| @@ -3,8 +3,8 @@ | ||
| 3 | 3 | namespace Spatie\Php7to5\NodeVisitors; | 
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; | 
| 6 | -use PhpParser\Node\Param; | |
| 7 | 6 | use PhpParser\NodeVisitorAbstract; | 
| 7 | +use PhpParser\Node\Param; | |
| 8 | 8 | |
| 9 | 9 | class ScalarTypeHintsRemover extends NodeVisitorAbstract | 
| 10 | 10 |  { |