Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45dac4b

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 parents2bdf12e +92b3ef4 commit45dac4b

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
returnsimplexml_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-
privatefunctionloadClassMetadataFromXml(ClassMetadata$metadata,$classDescription)
185+
privatefunctionloadClassMetadataFromXml(ClassMetadata$metadata,\SimpleXMLElement$classDescription)
192186
{
193187
if (count($classDescription->{'group-sequence-provider'}) >0) {
194188
$metadata->setGroupSequenceProvider(true);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp