We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364c8d4 commit aae3a5fCopy full SHA for aae3a5f
contributing/documentation/overview.rst
@@ -93,15 +93,22 @@ look and feel familiar, you should follow these rules:
93
94
An example::
95
96
- // src/Foo/Bar/foo.php
97
- public function foo($bar)
+ // src/Foo/Bar.php
+
98
+ // ...
99
+ class Bar
100
{
- // set foo with a value of bar
- $foo = ...;
101
102
103
+ public function foo($bar)
104
+ {
105
+ // set foo with a value of bar
106
+ $foo = ...;
107
- // ... check if $bar has the correct value
108
+ // ... check if $bar has the correct value
109
- return $foo->baz($bar, ...);
110
+ return $foo->baz($bar, ...);
111
+ }
112
}
113
114
.. note::
0 commit comments