8000 [Validator] Fix dockblock typehint in XmlFileLoader · symfony/symfony@92b3ef4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92b3ef4

Browse files
committed
[Validator] Fix dockblock typehint in XmlFileLoader
1 parent 81b0cc7 commit 92b3ef4

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 & 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