8000 Merge branch '2.0' · ahilles107/symfony-docs@b90bdf8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b90bdf8

Browse files
committed
Merge branch '2.0'
2 parents d0992e4 + aae3a5f commit b90bdf8

File tree

1 file changed

+13
-6
lines changed

contributing/documentation/overview.rst

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,22 @@ look and feel familiar, you should follow these rules:
9393

9494
An example::
9595

96-
// src/Foo/Bar/foo.php
97-
public function foo($bar)
96+
// src/Foo/Bar.php
97+
98+
// ...
99+
class Bar
98100
{
99-
// set foo with a value of bar
100-
$foo = ...;
101+
// ...
102+
103+
public function foo($bar)
104+
{
105+
// set foo with a value of bar
106+
$foo = ...;
101107

102-
// ... check if $bar has the correct value
108+
// ... check if $bar has the correct value
103109

104-
return $foo->baz($bar, ...);
110+
return $foo->baz($bar, ...);
111+
}
105112
}
106113

107114
.. note::

0 commit comments

Comments
 (0)
0