Skip to content

Commit fb5309b

Browse files
committed
docs: add spaces in method signatures
1 parent a1143dc commit fb5309b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/outgoing/view_renderer.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Class Reference
109109

110110
.. php:class:: CodeIgniter\\View\\View
111111
112-
.. php:method:: render($view[, $options[, $saveData=false]])
112+
.. php:method:: render($view[, $options[, $saveData = false]])
113113
:noindex:
114114

115115
:param string $view: File name of the view source
@@ -122,7 +122,7 @@ Class Reference
122122

123123
echo $view->render('myview');
124124

125-
.. php:method:: renderString($view[, $options[, $saveData=false]])
125+
.. php:method:: renderString($view[, $options[, $saveData = false]])
126126
:noindex:
127127

128128
:param string $view: Contents of the view to render, for instance content retrieved from a database
@@ -140,7 +140,7 @@ Class Reference
140140
and that you **must** validate any such data, and probably escape it
141141
appropriately!
142142

143-
.. php:method:: setData([$data[, $context=null]])
143+
.. php:method:: setData([$data[, $context = null]])
144144
:noindex:
145145

146146
:param array $data: Array of view data strings, as key/value pairs
@@ -158,7 +158,7 @@ Class Reference
158158
Each call adds to the array of data that the object is accumulating,
159159
until the view is rendered.
160160

161-
.. php:method:: setVar($name[, $value=null[, $context=null]])
161+
.. php:method:: setVar($name[, $value = null[, $context = null]])
162162
:noindex:
163163

164164
:param string $name: Name of the view data variable

0 commit comments

Comments
 (0)