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

Appearance settings

Commit 33e76a5

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎contributing/code/standards.rst

Copy file name to clipboardExpand all lines: contributing/code/standards.rst
+2-2Lines 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, $theSwitch = false)
8484
{
85-
if (!isset($value)) {
85+
if (!$theSwitch) {
8686
return;
8787
}
8888

0 commit comments

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