RemoveAlwaysTrueIfConditionRector

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

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

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

Loading…
Cancel
Save