8000 Incorporates @WouterJ 's suggestion for more realistic usage of bang · symfony/symfony-docs@33e76a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 33e76a5

Browse files
bryanageeweaverryan
authored andcommitted
Incorporates @wouterj 's suggestion for more realistic usage of bang
1 parent 837e895 commit 33e76a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/code/standards.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ example containing most features described below:
8080
throw new \RuntimeException(sprintf('Unrecognized dummy option "%s"', $dummy));
8181
}
8282

83-
private function reverseBoolean($value = null)
83+
private function reverseBoolean($value = null< 57AD span class="x x-first x-last">, $theSwitch = false)
8484
{
85-
if (!isset($value)) {
85+
if (!$theSwitch) {
8686
return;
8787
}
8888

0 commit comments

Comments
 (0)
0