We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0887b9 commit 415ad2bCopy full SHA for 415ad2b
src/PriorityQueue.php
@@ -25,9 +25,9 @@ class PriorityQueue extends SplPriorityQueue
25
* @param TValue $value
26
* @param TPriority $priority
27
*
28
- * @return bool
+ * @return true
29
*/
30
- public function insert($value, $priority): bool
+ public function insert($value, $priority): true
31
{
32
return parent::insert($value, [$priority, $this->serial--]);
33
}
0 commit comments