@@ -173,10 +173,10 @@ discard block |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | - * Get the other heap referenced in the current heap |
|
| 177 | - * |
|
| 178 | - * @return MergeableAddressableHeapInterface |
|
| 179 | - */ |
|
| 176 | + * Get the other heap referenced in the current heap |
|
| 177 | + * |
|
| 178 | + * @return MergeableAddressableHeapInterface |
|
| 179 | + */ |
|
| 180 | 180 | public function getOther(): MergeableAddressableHeapInterface |
| 181 | 181 | { |
| 182 | 182 | return $this->other; |
@@ -234,13 +234,13 @@ discard block |
||
| 234 | 234 | } |
| 235 | 235 | |
| 236 | 236 | /** |
| 237 | - * Decrease the node key |
|
| 238 | - * |
|
| 239 | - * @param PairingHeapNode $node - the node |
|
| 240 | - * @param int $newKey - the node new key |
|
| 241 | - * |
|
| 242 | - * @throws Exception |
|
| 243 | - */ |
|
| 237 | + * Decrease the node key |
|
| 238 | + * |
|
| 239 | + * @param PairingHeapNode $node - the node |
|
| 240 | + * @param int $newKey - the node new key |
|
| 241 | + * |
|
| 242 | + * @throws Exception |
|
| 243 | + */ |
|
| 244 | 244 | public function decreaseKey(PairingHeapNode $node, int $newKey): void |
| 245 | 245 | { |
| 246 | 246 | if ($newKey > $node->key) { |