Skip to content

Commit

Permalink
Merge pull request #14 from newfold-labs/hotfix/fix-deprecated-warning
Browse files Browse the repository at this point in the history
Fix PHP deprecated warning
  • Loading branch information
arunshenoy99 authored Nov 1, 2023
2 parents a5a683c + bf1a6f9 commit 4c9854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Models/PriorityQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PriorityQueue extends \SplPriorityQueue {
* @param mixed $priority2 Second Priority Queue
* @return int
*/
public function compare( $priority1, $priority2 ) {
public function compare( $priority1, $priority2 ) : int {
if ( $priority1 === $priority2 ) {
return 0;
}
Expand Down

0 comments on commit 4c9854f

Please sign in to comment.