Skip to content

Commit c65eb40

Browse files
committed
Fix PHPDoc type
1 parent 4a96d27 commit c65eb40

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ a release.
1919

2020
## [Unreleased]
2121

22-
### Tree
2322
#### Added
24-
- [NestedSet] childrenQueryBuilder() to allow specifying sort order separately for each field
25-
- [NestedSet] Added option to reorder only direct children in reorder() method
23+
- Tree: [NestedSet] `childrenQueryBuilder()` to allow specifying sort order separately for each field
24+
- Tree: [NestedSet] Added option to reorder only direct children in `reorder()` method
2625

2726
## Changed
2827
- Tree: In `ClosureTreeRepository::removeFromTree()` and `NestedTreeRepository::removeFromTree()` when something fails in the transaction, it uses the `code` from the original exception to construct the `\Gedmo\Exception\RuntimeException` instance instead of `null`.
2928

3029
#### Fixed
31-
- [SortableGroup] Fix sorting date columns in SQLite (#2462).
30+
- Sortable: [SortableGroup] Fix sorting date columns in SQLite (#2462).
31+
- PHPDoc of `AbstractMaterializedPath::removeNode()` and `AbstractMaterializedPath::getChildren()`
3232

3333
## [3.7.0] - 2022-05-17
3434
## Added

src/Tree/Strategy/AbstractMaterializedPath.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@ public function processPostEventsActions(ObjectManager $om, AdapterInterface $ea
449449
/**
450450
* Remove node and its children
451451
*
452-
* @param ObjectManager $om
453-
* @param ClassMetadata $meta Metadata
454-
* @param object $config config
455-
* @param object $node node to remove
452+
* @param ObjectManager $om
453+
* @param ClassMetadata $meta Metadata
454+
* @param array<string, mixed> $config config
455+
* @param object $node node to remove
456456
*
457457
* @return void
458458
*/
@@ -461,10 +461,10 @@ abstract public function removeNode($om, $meta, $config, $node);
461461
/**
462462
* Returns children of the node with its original path
463463
*
464-
* @param ObjectManager $om
465-
* @param ClassMetadata $meta Metadata
466-
* @param object $config config
467-
* @param string $originalPath original path of object
464+
* @param ObjectManager $om
465+
* @param ClassMetadata $meta Metadata
466+
* @param array<string, mixed> $config config
467+
* @param string $originalPath original path of object
468468
*
469469
* @return array|\Traversable
470470
*/

0 commit comments

Comments
 (0)