Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmy committed Dec 17, 2023
1 parent 3276158 commit bb5ae6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UseCases/ScrapeUserProfilesAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private function scrapeUserProfileData(array $userProfileUrls): array
$this->client->request('GET', $userProfileUrl);

// Since $this->client->getInternalResponse()->getStatusCode() returns 200, it is checked by title.
if ($this->client->getTitle() === '403 Forbidden') {
if ('403 Forbidden' === $this->client->getTitle()) {
$this->logger->warning('Skip scraping user profile data because the user profile is private.', ['userProfileUrl' => $userProfileUrl]);

continue;
Expand Down

0 comments on commit bb5ae6d

Please sign in to comment.