We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d4450 commit 9a120dfCopy full SHA for 9a120df
1 file changed
src/Utils/Formatter.php
@@ -322,7 +322,7 @@ public function formatList($list)
322
/**
323
* Previously parsed token.
324
*
325
- * @var Token
+ * @var Token|null
326
*/
327
$prev = null;
328
@@ -349,12 +349,9 @@ public function formatList($list)
349
}
350
351
// Checking if pointers were initialized.
352
- /**
353
- * Previous Token.
354
- *
355
- * @var Token $prev
356
- */
357
if ($prev !== null) {
+ /** @var Token $prev */
+
358
// Checking if a new clause started.
359
if (static::isClause($prev) !== false) {
360
$lastClause = $prev->value;
0 commit comments