@@ -56,7 +56,7 @@ class CmfHelper extends Helper
5656 *
5757 * @param SecurityContextInterface $publishWorkflowChecker
5858 * @param ManagerRegistry $registry For loading PHPCR-ODM documents from
59- * Doctrine.
59+ * Doctrine
6060 * @param string $managerName
6161 */
6262 public function __construct (SecurityContextInterface $ publishWorkflowChecker = null , $ registry = null , $ managerName = null )
@@ -174,7 +174,7 @@ public function find($path)
174174 * object itself
175175 * @param bool|null $ignoreRole whether the bypass role should be
176176 * 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
178178 * @param null|string $class class name to filter on
179179 *
180180 * @return null|object
@@ -294,7 +294,7 @@ public function getLocalesFor($document, $includeFallbacks = false)
294294 *
295295 * @return bool|null|object child or null if the child cannot be found
296296 * or false if the parent is not managed by
297- * the configured document manager.
297+ * the configured document manager
298298 */
299299 public function getChild ($ parent , $ name )
300300 {
@@ -312,9 +312,9 @@ public function getChild($parent, $name)
312312 /**
313313 * Gets child documents.
314314 *
315- * @param string|object $parent parent id or document.
315+ * @param string|object $parent parent id or document
316316 * @param int|bool $limit maximum number of children to get or
317- * false for no limit.
317+ * false for no limit
318318 * @param string|bool $offset node name to which to skip to or false
319319 * @param null|string $filter child name filter (optional)
320320 * @param bool|null $ignoreRole whether the role should be ignored or
@@ -381,15 +381,15 @@ public function getChildren($parent, $limit = false, $offset = false, $filter =
381381 *
382382 * This has the same semantics as the isLinkable method.
383383 *
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
386386 * @param string|bool $offset node name to which to skip to or false
387387 * to not skip any elements
388388 * @param null|string $filter child name filter
389389 * @param bool|null $ignoreRole whether the role should be ignored or
390390 * 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
393393 *
394394 * @return array
395395 *
@@ -461,9 +461,9 @@ private function getChildrenPaths($path, array &$children, $depth)
461461 }
462462
463463 /**
464- * @param string|object $parent parent path/document.
464+ * @param string|object $parent parent path/document
465465 * @param null|int $depth null denotes no limit, depth of 1 means
466- * direct children only.
466+ * direct children only
467467 *
468468 * @return array
469469 */
@@ -776,13 +776,13 @@ public function getNext($current, $anchor = null, $depth = null, $ignoreRole = f
776776 * This has the same semantics as the isLinkable method.
777777 *
778778 * @param string|object $current Document instance or path from
779- * which to search.
779+ * which to search
780780 * @param null|string|object $anchor Document instance or path which
781781 * serves as an anchor from which to
782- * flatten the hierarchy.
782+ * flatten the hierarchy
783783 * @param null|int $depth Depth up to which to traverse down
784784 * the tree when an anchor is
785- * provided.
785+ * provided
786786 * @param bool $ignoreRole Whether to ignore the role,
787787 *
788788 * @return null|object
@@ -808,14 +808,14 @@ public function getPrevLinkable($current, $anchor = null, $depth = null, $ignore
808808 * This has the same semantics as the isLinkable method.
809809 *
810810 * @param string|object $current Document instance or path from
811- * which to search.
811+ * which to search
812812 * @param null|string|object $anchor Document instance or path which
813813 * serves as an anchor from which to
814- * flatten the hierarchy.
814+ * flatten the hierarchy
815815 * @param null|int $depth Depth up to which to traverse down
816816 * 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
819819 *
820820 * @return null|object
821821 *
0 commit comments