8000
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.
2 parents d0992e4 + aae3a5f commit b90bdf8Copy full SHA for b90bdf8
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