RemoveAlwaysTrueIfConditionRector

pull/6327/head
Your Name 2 days ago
parent 72e27b1d2d
commit 8dab714848

@ -26,7 +26,7 @@ class ActiveSharedInboxService
return $res;
}
if (! $res && self::count() == '0') {
if (self::count() == '0') {
return self::warmCheck();
}
}

@ -899,7 +899,7 @@ class Inbox
break;
case 'Announce':
if (is_array($obj) && isset($obj['object'])) {
if (isset($obj['object'])) {
$obj = $obj['object'];
}
if (! is_string($obj)) {

Loading…
Cancel
Save