Skip to content

Commit 1e14f40

Browse files
committed
append parentheses to method names
1 parent 31b0a71 commit 1e14f40

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

controller/upload_file.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,13 @@ There are some important things to consider in the code of the above controller:
204204

205205
.. note::
206206

207-
If a directory was uploaded, ``getClientOriginalPath`` will contain the **webkitRelativePath** as provided by the browser.
208-
Otherwise this value will be identical to ``getClientOriginalName``.
207+
If a directory was uploaded, ``getClientOriginalPath()`` will contain
208+
the **webkitRelativePath** as provided by the browser. Otherwise this
209+
value will be identical to ``getClientOriginalName()``.
209210

210211
.. versionadded:: 7.1
211212

212-
The ``getClientOriginalPath`` method was introduced in Symfony 7.1.
213+
The ``getClientOriginalPath()`` method was introduced in Symfony 7.1.
213214

214215
You can use the following code to link to the PDF brochure of a product:
215216

0 commit comments

Comments
 (0)