Skip to content

Commit

Permalink
[Next] prepare v5
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Jan 23, 2025
1 parent 41d6132 commit 3b4fd52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CoreShop/Component/Pimcore/SplPriorityQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class SplPriorityQueue extends \SplPriorityQueue implements Serializable
*
* @param TValue $value
* @param TPriority $priority
* @return void
* @return true
*/
#[ReturnTypeWillChange] // Inherited return type should be bool
public function insert($value, $priority)
Expand All @@ -63,7 +63,7 @@ public function insert($value, $priority)
$priority = [$priority, $this->serial--];
}

parent::insert($value, $priority);
return parent::insert($value, $priority);

Check failure on line 66 in src/CoreShop/Component/Pimcore/SplPriorityQueue.php

View workflow job for this annotation

GitHub Actions / ^11.5, PHP 8.3, Deps highest, JMS ^4.0

InvalidArgument

src/CoreShop/Component/Pimcore/SplPriorityQueue.php:66:39: InvalidArgument: Argument 2 of SplPriorityQueue::insert expects TPriority:CoreShop\Component\Pimcore\SplPriorityQueue as int, but list{never, int} provided (see https://psalm.dev/004)

Check failure on line 66 in src/CoreShop/Component/Pimcore/SplPriorityQueue.php

View workflow job for this annotation

GitHub Actions / ^11.5, PHP 8.3, Deps highest, JMS ^5.0

InvalidArgument

src/CoreShop/Component/Pimcore/SplPriorityQueue.php:66:39: InvalidArgument: Argument 2 of SplPriorityQueue::insert expects TPriority:CoreShop\Component\Pimcore\SplPriorityQueue as int, but list{never, int} provided (see https://psalm.dev/004)

Check failure on line 66 in src/CoreShop/Component/Pimcore/SplPriorityQueue.php

View workflow job for this annotation

GitHub Actions / ^12.0, PHP 8.3, Deps highest, JMS ^4.0

InvalidArgument

src/CoreShop/Component/Pimcore/SplPriorityQueue.php:66:39: InvalidArgument: Argument 2 of SplPriorityQueue::insert expects TPriority:CoreShop\Component\Pimcore\SplPriorityQueue as int, but list{never, int} provided (see https://psalm.dev/004)
}

/**
Expand Down

0 comments on commit 3b4fd52

Please sign in to comment.