diff --git a/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php b/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php index f1e79b9aacfb5..fab61d56fd690 100644 --- a/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php +++ b/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php @@ -72,7 +72,7 @@ private function buildIndex($offset, $stopAt) { foreach ($social_cards as $contact) { $offset = $contact['id']; $cardData = $contact['carddata']; - if (is_resource($cardData) && (get_resource_type($cardData) == 'stream')) { + if (is_resource($cardData) && (get_resource_type($cardData) === 'stream')) { $cardData = stream_get_contents($cardData); } $this->davBackend->updateCard($contact['addressbookid'], $contact['uri'], $cardData);