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.
2 parents 9d8df7f + dfc28a1 commit abb7df8Copy full SHA for abb7df8
Translation/Extractor/File/FormExtractor.php
@@ -120,7 +120,7 @@ public function enterNode(Node $node)
120
121
// look for options containing a message
122
foreach ($node->items as $item) {
123
- if (!$item->key instanceof Node\Scalar\String_) {
+ if (!$item || !$item->key instanceof Node\Scalar\String_) {
124
continue;
125
}
126
@@ -171,7 +171,7 @@ public function getDomain(Node $node)
171
$domain = null;
172
173
174
175
176
177
0 commit comments