From b866623c946ea3d1ff9493346bdea6925a8a585b Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Thu, 17 Oct 2024 16:44:55 +0100 Subject: [PATCH] chore: phpstan --- extensions/sticky/src/PinStickiedDiscussionsToTop.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/extensions/sticky/src/PinStickiedDiscussionsToTop.php b/extensions/sticky/src/PinStickiedDiscussionsToTop.php index 9be1a1ddf..cc6f33ec9 100755 --- a/extensions/sticky/src/PinStickiedDiscussionsToTop.php +++ b/extensions/sticky/src/PinStickiedDiscussionsToTop.php @@ -91,12 +91,8 @@ class PinStickiedDiscussionsToTop /** * Pin all stickied discussions to the top of the query. * This is done by prepending an order clause to the query. - * - * @param $query - * - * @return void */ - protected function pinStickiedToTop($query): void + protected function pinStickiedToTop(Builder $query): void { if (! is_array($query->orders)) { $query->orders = [];