@@ -33,9 +33,6 @@ class Cmf
33
33
private ManagerRegistry $ doctrineRegistry ;
34
34
private ?string $ doctrineManagerName ;
35
35
36
- /**
37
- * @var DocumentManager
38
- */
39
36
protected DocumentManager $ dm ;
40
37
41
38
public function __construct (
@@ -117,8 +114,6 @@ public function getPath($document): bool|string
117
114
118
115
/**
119
116
* Finds a document by path.
120
- *
121
- * @return object|null
122
117
*/
123
118
public function find ($ path ): ?object
124
119
{
@@ -131,8 +126,6 @@ public function find($path): ?object
131
126
* @param string|object $pathOrDocument the identifier of the class (path or document object)
132
127
* @param string $locale the language to try to load
133
128
* @param bool $fallback set to true if the language fallback mechanism should be used
134
- *
135
- * @return object|null
136
129
*/
137
130
public function findTranslation ($ pathOrDocument , string $ locale , bool $ fallback = true ): ?object
138
131
{
@@ -188,8 +181,6 @@ private function getDocument($document, ?bool $ignoreRole = false, ?string $clas
188
181
* @param string|bool $offset string node name to which to skip to or false
189
182
* @param bool|null $ignoreRole if the role should be ignored or null if publish workflow should be ignored
190
183
* @param string|null $class class name to filter on
191
- *
192
- * @return array
193
184
*/
194
185
public function findMany (array $ paths = [], $ limit = false , $ offset = false , ?bool $ ignoreRole = false , ?string $ class = null ): array
195
186
{
@@ -295,8 +286,6 @@ public function getChild($parent, string $name): object|bool|null
295
286
* null if publish workflow should be
296
287
* ignored (defaults to false)
297
288
* @param string|null $class class name to filter on (optional)
298
- *
299
- * @return array
300
289
*/
301
290
public function getChildren ($ parent , $ limit = false , $ offset = false , $ filter = null , $ ignoreRole = false , $ class = null ): array
302
291
{
0 commit comments