Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Formatter tests #120

Merged
merged 18 commits into from
Feb 6, 2017
Merged
5 changes: 1 addition & 4 deletions src/Utils/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public function formatList($list)
/**
* Previously parsed token.
*
* @var Token
* @var Token|null
*/
$prev = null;

Expand All @@ -349,9 +349,6 @@ public function formatList($list)
}

// Checking if pointers were initialized.
/*
* Previous Token.
*/
if ($prev !== null) {
// Checking if a new clause started.
if (static::isClause($prev) !== false) {
Expand Down
Loading