Skip to content

Commit b795e63

Browse files
committed
♻️ refactoring Article class
1 parent b9268da commit b795e63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Models/Article.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ public static function nextForSharing(): ?self
325325

326326
public static function nexForSharingToTelegram(): ?self
327327
{
328-
return self::shared()
329-
->published()
328+
return self::published()
330329
->whereNull('tweet_id')
331330
->orderBy('submitted_at', 'asc')
332331
->first();

0 commit comments

Comments
 (0)