Skip to content

Navigation Menu

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

Appearance settings

Commit 6bd461b

Browse filesBrowse files
committed
Merge branch '6.4' into 7.2
* 6.4: [Validator] add pl translation for the Twig constraint dump default value for property hooks if present
2 parents 171420d + 58ec2f3 commit 6bd461b
Copy full SHA for 6bd461b

File tree

2 files changed

+4
-2
lines changed
Filter options

2 files changed

+4
-2
lines changed

‎src/Symfony/Component/Validator/Resources/translations/validators.pl.xlf

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Resources/translations/validators.pl.xlf
+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
</trans-unit>
473473
<trans-unit id="121">
474474
<source>This value is not a valid Twig template.</source>
475-
<target state="needs-translation">This value is not a valid Twig template.</target>
475+
<target>Ta wartość nie jest prawidłowym szablonem Twig.</target>
476476
</trans-unit>
477477
</body>
478478
</file>

‎src/Symfony/Component/VarExporter/ProxyHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarExporter/ProxyHelper.php
+3-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ public static function generateLazyGhost(\ReflectionClass $class): string
7979
$hooks .= "\n "
8080
.($p->isProtected() ? 'protected' : 'public')
8181
.($p->isProtectedSet() ? ' protected(set)' : '')
82-
." {$type} \${$name} {\n";
82+
." {$type} \${$name}"
83+
.($p->hasDefaultValue() ? ' = '.$p->getDefaultValue() : '')
84+
." {\n";
8385

8486
foreach ($p->getHooks() as $hook => $method) {
8587
if ('get' === $hook) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.