@@ -56,7 +56,7 @@ class CmfHelper extends Helper
56
56
*
57
57
* @param SecurityContextInterface $publishWorkflowChecker
58
58
* @param ManagerRegistry $registry For loading PHPCR-ODM documents from
59
- * Doctrine.
59
+ * Doctrine
60
60
* @param string $managerName
61
61
*/
62
62
public function __construct (SecurityContextInterface $ publishWorkflowChecker = null , $ registry = null , $ managerName = null )
@@ -174,7 +174,7 @@ public function find($path)
174
174
* object itself
175
175
* @param bool|null $ignoreRole whether the bypass role should be
176
176
* ignored (leading to only show published content regardless of the
177
- * current user) or null to skip the published check completely.
177
+ * current user) or null to skip the published check completely
178
178
* @param null|string $class class name to filter on
179
179
*
180
180
* @return null|object
@@ -294,7 +294,7 @@ public function getLocalesFor($document, $includeFallbacks = false)
294
294
*
295
295
* @return bool|null|object child or null if the child cannot be found
296
296
* or false if the parent is not managed by
297
- * the configured document manager.
297
+ * the configured document manager
298
298
*/
299
299
public function getChild ($ parent , $ name )
300
300
{
@@ -312,9 +312,9 @@ public function getChild($parent, $name)
312
312
/**
313
313
* Gets child documents.
314
314
*
315
- * @param string|object $parent parent id or document.
315
+ * @param string|object $parent parent id or document
316
316
* @param int|bool $limit maximum number of children to get or
317
- * false for no limit.
317
+ * false for no limit
318
318
* @param string|bool $offset node name to which to skip to or false
319
319
* @param null|string $filter child name filter (optional)
320
320
* @param bool|null $ignoreRole whether the role should be ignored or
@@ -381,15 +381,15 @@ public function getChildren($parent, $limit = false, $offset = false, $filter =
381
381
*
382
382
* This has the same semantics as the isLinkable method.
383
383
*
384
- * @param string|object $parent parent path/document.
385
- * @param int|bool $limit limit or false for no limit.
384
+ * @param string|object $parent parent path/document
385
+ * @param int|bool $limit limit or false for no limit
386
386
* @param string|bool $offset node name to which to skip to or false
387
387
* to not skip any elements
388
388
* @param null|string $filter child name filter
389
389
* @param bool|null $ignoreRole whether the role should be ignored or
390
390
* null if publish workflow should be
391
- * ignored (defaults to false).
392
- * @param string|null $class class name to filter on.
391
+ * ignored (defaults to false)
392
+ * @param string|null $class class name to filter on
393
393
*
394
394
* @return array
395
395
*
@@ -461,9 +461,9 @@ private function getChildrenPaths($path, array &$children, $depth)
461
461
}
462
462
463
463
/**
464
- * @param string|object $parent parent path/document.
464
+ * @param string|object $parent parent path/document
465
465
* @param null|int $depth null denotes no limit, depth of 1 means
466
- * direct children only.
466
+ * direct children only
467
467
*
468
468
* @return array
469
469
*/
@@ -776,13 +776,13 @@ public function getNext($current, $anchor = null, $depth = null, $ignoreRole = f
776
776
* This has the same semantics as the isLinkable method.
777
777
*
778
778
* @param string|object $current Document instance or path from
779
- * which to search.
779
+ * which to search
780
780
* @param null|string|object $anchor Document instance or path which
781
781
* serves as an anchor from which to
782
- * flatten the hierarchy.
782
+ * flatten the hierarchy
783
783
* @param null|int $depth Depth up to which to traverse down
784
784
* the tree when an anchor is
785
- * provided.
785
+ * provided
786
786
* @param bool $ignoreRole Whether to ignore the role,
787
787
*
788
788
* @return null|object
@@ -808,14 +808,14 @@ public function getPrevLinkable($current, $anchor = null, $depth = null, $ignore
808
808
* This has the same semantics as the isLinkable method.
809
809
*
810
810
* @param string|object $current Document instance or path from
811
- * which to search.
811
+ * which to search
812
812
* @param null|string|object $anchor Document instance or path which
813
813
* serves as an anchor from which to
814
- * flatten the hierarchy.
814
+ * flatten the hierarchy
815
815
* @param null|int $depth Depth up to which to traverse down
816
816
* the tree when an anchor is
817
- * provided.
818
- * @param bool $ignoreRole Whether to ignore the role.
817
+ * provided
818
+ * @param bool $ignoreRole Whether to ignore the role
819
819
*
820
820
* @return null|object
821
821
*
0 commit comments