From ba61181558227b8d01a5288ccfa19830169a0499 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 1 Nov 2023 16:36:32 +0530 Subject: [PATCH] Revert "Merge pull request #14 from newfold-labs/hotfix/fix-deprecated-warning" This reverts commit 4c9854fd5c480bc244be253cb8d2544b04d5b05e, reversing changes made to a5a683c2b6d2422a4e18c50919bdb8fd4bd89a5c. --- includes/Models/PriorityQueue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Models/PriorityQueue.php b/includes/Models/PriorityQueue.php index ac2b52a..9fd0a2b 100644 --- a/includes/Models/PriorityQueue.php +++ b/includes/Models/PriorityQueue.php @@ -13,7 +13,7 @@ class PriorityQueue extends \SplPriorityQueue { * @param mixed $priority2 Second Priority Queue * @return int */ - public function compare( $priority1, $priority2 ) : int { + public function compare( $priority1, $priority2 ) { if ( $priority1 === $priority2 ) { return 0; }