Skip to content

Commit 95a1cc5

Browse files
bryanageeweaverryan
authored andcommitted
Reverses statement about bang spacing and corresponding examples
1 parent a68d3e5 commit 95a1cc5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contributing/code/standards.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ example containing most features described below:
8282

8383
private function reverseBoolean($value = null)
8484
{
85-
if ( ! isset($value)) {
85+
if (!isset($value)) {
8686
return;
8787
}
88-
return ! $value;
88+
return !$value;
8989
}
9090
}
9191

@@ -94,7 +94,8 @@ Structure
9494

9595
* Add a single space after each comma delimiter;
9696

97-
* Add a single space around operators (``==``, ``&&``, ``!``, ...);
97+
* Add a single space around operators (``==``, ``&&``, ...), with the excption
98+
of the not (!) operator;
9899

99100
* Add a comma after each array item in a multi-line array, even after the
100101
last one;

0 commit comments

Comments
 (0)