We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b422c13 commit ec4a366Copy full SHA for ec4a366
backend/database/seeds/LikeTableSeeder.php
@@ -29,7 +29,7 @@ function(Tweet $tweet) use($users, $now) {
29
$userIds = $users->shuffle()->shuffle()->take(self::LIKES_COUNT)->pluck('id');
30
31
return $userIds->map(
32
- function(int $userId) use($tweet, $now) {
+ function(int $userId) use ($tweet, $now) {
33
return [
34
'user_id' => $userId,
35
'likeable_id' => $tweet->id,
@@ -42,7 +42,7 @@ function(int $userId) use($tweet, $now) {
42
);
43
44
$commentLikes = $comments->map(
45
- function(Comment $comment) use($users, $now) {
+ function(Comment $comment) use ($users, $now) {
46
47
48
0 commit comments