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

Commit ec8d0c0

Browse files
committed
phpstan: fix error in the CI
1 parent 2fc895e commit ec8d0c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Core/DocumentPrioritizer/SimilarityResultPrioritizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ public function priority(?TextDocumentUri $one, ?TextDocumentUri $two): int
3232

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

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

0 commit comments

Comments
 (0)