src/Visitor/Php/Symfony/FormTypeLabelExplicit.php 1 location
|
@@ 83-87 (lines=5) @@
|
80 |
|
$labelNode = $item; |
81 |
|
} |
82 |
|
|
83 |
|
if ($labelNode && false !== $domain) { |
84 |
|
if (null !== $location = $this->getLocation($label, $node->getAttribute('startLine'), $labelNode, ['domain' => $domain])) { |
85 |
|
$this->lateCollect($location); |
86 |
|
} |
87 |
|
} |
88 |
|
} |
89 |
|
} |
90 |
|
|
src/Visitor/Php/Symfony/FormTypeLabelImplicit.php 1 location
|
@@ 83-87 (lines=5) @@
|
80 |
|
} |
81 |
|
|
82 |
|
$label = $node->args[0]->value->value; |
83 |
|
if (!empty($label)) { |
84 |
|
if (null !== $location = $this->getLocation($label, $node->getAttribute('startLine'), $node, ['domain' => $domain])) { |
85 |
|
$this->lateCollect($location); |
86 |
|
} |
87 |
|
} |
88 |
|
} |
89 |
|
} |
90 |
|
} |