Skip to content

Commit

Permalink
Use @psalm-var instead of @var (so that PHP-CS-Fixer does not touch t…
Browse files Browse the repository at this point in the history
…hese)
  • Loading branch information
sebastianbergmann committed Apr 13, 2020
1 parent 47d3358 commit a6999a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ final class TestRunner extends BaseTestRunner
private $loader;

/**
* @var Printer&TestListener
* @psalm-var Printer&TestListener
*/
private $printer;

Expand Down
2 changes: 1 addition & 1 deletion src/Util/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Printer
protected $autoFlush = false;

/**
* @var resource|closed-resource
* @psalm-var resource|closed-resource
*/
protected $out;

Expand Down
2 changes: 1 addition & 1 deletion src/Util/VersionComparisonOperator.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
final class VersionComparisonOperator
{
/**
* @var '<'|'lt'|'<='|'le'|'>'|'gt'|'>='|'ge'|'=='|'='|'eq'|'!='|'<>'|'ne'
* @psalm-var '<'|'lt'|'<='|'le'|'>'|'gt'|'>='|'ge'|'=='|'='|'eq'|'!='|'<>'|'ne'
*/
private $operator;

Expand Down

0 comments on commit a6999a6

Please sign in to comment.