Refix types
All checks were successful
Push image to registry / build-image (push) Successful in 5m50s
All checks were successful
Push image to registry / build-image (push) Successful in 5m50s
This commit is contained in:
@ -406,7 +406,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getLatestPostId(Browser $browser, InstagramRepost $reel): int
|
private function getLatestPostId(Browser $browser, InstagramRepost $reel): ?int
|
||||||
{
|
{
|
||||||
// Go to the profile page of the managed account
|
// Go to the profile page of the managed account
|
||||||
$newReel = $this->getLatestReelsFromAccount(
|
$newReel = $this->getLatestReelsFromAccount(
|
||||||
@ -418,7 +418,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
|
|||||||
|
|
||||||
if ($newReel === null) {
|
if ($newReel === null) {
|
||||||
Log::error("No reels found for account: " . $this->jobInfos->get('instagram_repost_account_username'));
|
Log::error("No reels found for account: " . $this->jobInfos->get('instagram_repost_account_username'));
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the reel ID
|
// Return the reel ID
|
||||||
|
Reference in New Issue
Block a user