Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Commit

Permalink
phpstan: fix error in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
camilledejoye committed Sep 19, 2021
1 parent 2fc895e commit 796a2db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ public function priority(?TextDocumentUri $one, ?TextDocumentUri $two): int

$range = Suggestion::PRIORITY_LOW - Suggestion::PRIORITY_MEDIUM;

return Suggestion::PRIORITY_MEDIUM + $range - $range * $similarity;
return (int) Suggestion::PRIORITY_MEDIUM + $range - $range * $similarity;
}
}

0 comments on commit 796a2db

Please sign in to comment.