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

+2-2
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, $theSwitch = false)
8484
{
85-
if (!isset($value)) {
85+
if (!$theSwitch) {
8686
return;
8787
}
8888

0 commit comments

Comments
 (0)