Skip to content

Commit f396e09

Browse files
committed
fix ellipsis where possible
1 parent 430f4ef commit f396e09

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

components/filesystem.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ systems (unlike PHP's :phpfunction:`readlink` function)::
214214

215215
Its behavior is the following::
216216

217-
public function readlink($path, $canonicalize = false)
217+
public function readlink($path, $canonicalize = false) { ... }
218218

219219
* When ``$canonicalize`` is ``false``:
220220
* if ``$path`` does not exist or is not a link, it returns ``null``.

components/serializer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@ to ``true``::
11221122
$result = $normalizer->normalize($dummy, 'json', [AbstractObjectNormalizer::SKIP_NULL_VALUES => true]);
11231123
// ['bar' => 'notNull']
11241124

1125+
11251126
.. _component-serializer-handling-circular-references:
11261127

11271128
Handling Circular References

create_framework/http_kernel_controller_resolver.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,29 +103,29 @@ The ``index()`` method needs the Request object as an argument.
103103
``getArguments()`` knows when to inject it properly if it is type-hinted
104104
correctly::
105105

106-
public function index(Request $request)
106+
public function index(Request $request) { ... }
107107

108108
// won't work
109-
public function index($request)
109+
public function index($request) { ... }
110110

111111
More interesting, ``getArguments()`` is also able to inject any Request
112112
attribute; if the argument has the same name as the corresponding
113113
attribute::
114114

115-
public function index($year)
115+
public function index($year) { ... }
116116

117117
You can also inject the Request and some attributes at the same time (as the
118118
matching is done on the argument name or a type hint, the arguments order does
119119
not matter)::
120120

121-
public function index(Request $request, $year)
121+
public function index(Request $request, $year) { ... }
122122

123-
public function index($year, Request $request)
123+
public function index($year, Request $request) { ... }
124124

125125
Finally, you can also define default values for any argument that matches an
126126
optional attribute of the Request::
127127

128-
public function index($year = 2012)
128+
public function index($year = 2012) { ... }
129129

130130
Let's inject the ``$year`` request attribute for our controller::
131131

reference/forms/types/file.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ be used to move the ``attachment`` file to a permanent location::
3737
// ...
3838

3939
if ($form->isSubmitted() && $form->isValid()) {
40-
$someNewFilename = ...
40+
$someNewFilename = ...;
4141

4242
$file = $form['attachment']->getData();
4343
$file->move($directory, $someNewFilename);

0 commit comments

Comments
 (0)