@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * Returns whether this node is a boolean value |
75 | 75 | * |
76 | 76 | * @param Node $node |
77 | - * @return boolean |
|
77 | + * @return boolean|null |
|
78 | 78 | */ |
79 | 79 | private function isBool(Node $node) { |
80 | 80 | if ($node instanceof ConstFetch) { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * Returns whether this node is a null value |
92 | 92 | * |
93 | 93 | * @param Node $node |
94 | - * @return boolean |
|
94 | + * @return boolean|null |
|
95 | 95 | */ |
96 | 96 | private function isNull(Node $node) { |
97 | 97 | if ($node instanceof ConstFetch) { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * Returns the value from a node |
105 | 105 | * |
106 | 106 | * @param Node $node |
107 | - * @return mixed |
|
107 | + * @return string |
|
108 | 108 | */ |
109 | 109 | private function getExpression(Node $node) { |
110 | 110 | if ($node instanceof ConstFetch) { |