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 c4f7b22 commit 33b5d26Copy full SHA for 33b5d26
2 files changed
src/Context.php
@@ -416,10 +416,6 @@ public static function isSeparator($str)
416
*/
417
public static function load($context = '')
418
{
419
- /**
420
- * @var Context $context
421
- */
422
-
423
if (empty($context)) {
424
$context = self::$defaultContext;
425
}
src/Utils/Formatter.php
@@ -277,7 +277,7 @@ public function formatList($list)
277
if ($prev !== null) {
278
279
// Checking if a new clause started.
280
- if (static::isClause($prev)) {
+ if (static::isClause($prev) !== false) {
281
$lastClause = $prev->value;
282
$formattedOptions = false;
283
0 commit comments