Skip to content

Commit

Permalink
Extend TODO to reveal moment of execution
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Dec 6, 2020
1 parent f6f6e26 commit 673660b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tokenizer/Transformers.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private function __construct()
$this->registerBuiltInTransformers();

usort($this->items, static function (TransformerInterface $a, TransformerInterface $b) {
return Utils::cmpInt($b->getPriority(), $a->getPriority()); // TODO spaceship
return Utils::cmpInt($b->getPriority(), $a->getPriority()); // TODO: update to use spaceship operator (PHP 7.0 required)
});
}

Expand Down

0 comments on commit 673660b

Please sign in to comment.