Skip to content

Commit 7b4d216

Browse files
committed
Wip
1 parent 33beb98 commit 7b4d216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ReviewRateable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function ratingTypes(): array
1717
return config('reviewrateable.default_rating_types');
1818
}
1919

20-
public function addReview($data, $author)
20+
public function addReview(array $data, Model $author)
2121
{
2222
// Separate ratings from other data
2323
$ratings = [];

0 commit comments

Comments
 (0)