Skip to content

Commit 33b5d26

Browse files
committed
Fixed some of Scrutinizer's issues.
1 parent c4f7b22 commit 33b5d26

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/Context.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,6 @@ public static function isSeparator($str)
416416
*/
417417
public static function load($context = '')
418418
{
419-
/**
420-
* @var Context $context
421-
*/
422-
423419
if (empty($context)) {
424420
$context = self::$defaultContext;
425421
}

src/Utils/Formatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public function formatList($list)
277277
if ($prev !== null) {
278278

279279
// Checking if a new clause started.
280-
if (static::isClause($prev)) {
280+
if (static::isClause($prev) !== false) {
281281
$lastClause = $prev->value;
282282
$formattedOptions = false;
283283
}

0 commit comments

Comments
 (0)