We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f1cf16 commit caebf39Copy full SHA for caebf39
src/Common/NodeInterface.php
@@ -33,7 +33,8 @@ public function getNodeType(): string;
33
public function getDocument(): DocumentInterface;
34
35
/**
36
- * @return mixed
+ * @noinspection ReturnTypeCanBeDeclaredInspection
37
+ * @return NodeInterface|null
38
*/
39
public function getParent();
40
@@ -48,9 +49,10 @@ public function hasParent(): bool;
48
49
public function hasChildren(): bool;
50
51
- * @return CountableIteratorInterface
52
53
+ * @return CountableIteratorInterface|null
54
- public function getChildren(): CountableIteratorInterface;
55
+ public function getChildren();
56
57
58
* @return int
0 commit comments