8000 minor #19497 [Validator] Fix dockblock typehint in XmlFileLoader (tga… · symfony/symfony@45dac4b · GitHub
[go: up one dir, main page]

Skip to content

Commit 45dac4b

Browse files
minor #19497 [Validator] Fix dockblock typehint in XmlFileLoader (tgalopin)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] Fix dockblock typehint in XmlFileLoader | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 92b3ef4 [Validator] Fix dockblock typehint in XmlFileLoader
2 parents 2bdf12e + 92b3ef4 commit 45dac4b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php

Lines changed: 1 addition & 8000 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,7 @@ protected function parseFile($path)
182182
return simplexml_import_dom($dom);
183183
}
184184

185-
/**
186-
* Loads the validation metadata from the given XML class description.
187-
*
188-
* @param ClassMetadata $metadata The metadata to load
189-
* @param array $classDescription The XML class description
190-
*/
191-
private function loadClassMetadataFromXml(ClassMetadata $metadata, $classDescription)
185+
private function loadClassMetadataFromXml(ClassMetadata $metadata, \SimpleXMLElement $classDescription)
192186
{
193187
if (count($classDescription->{'group-sequence-provider'}) > 0) {
194188
$metadata->setGroupSequenceProvider(true);

0 commit comments

Comments
 (0)
0