Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-lb committed Jul 9, 2019
1 parent 7bdd5e2 commit ee833f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Translation/Extractor/File/FormExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ public function enterNode(Node $node)

// look for options containing a message
foreach ($node->items as $item) {
if (!is_object($item)) {
continue;
}
if (!$item->key instanceof Node\Scalar\String_) {
continue;
}
Expand Down Expand Up @@ -164,6 +167,9 @@ public function getDomain(Node $node)
$domain = null;

foreach ($node->items as $item) {
if (!is_object($item)) {
continue;
}
if (!$item->key instanceof Node\Scalar\String_) {
continue;
}
Expand Down

0 comments on commit ee833f6

Please sign in to comment.