Skip to content

Commit 7dfe7d0

Browse files
committed
docs: fix text decoration
1 parent dd58318 commit 7dfe7d0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/libraries/sessions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Or even through the session helper method:
133133
.. literalinclude:: sessions/007.php
134134

135135
Where ``item`` is the array key corresponding to the item you wish to fetch.
136-
For example, to assign a previously stored 'name' item to the ``$name``
136+
For example, to assign a previously stored ``name`` item to the ``$name``
137137
variable, you will do this:
138138

139139
.. literalinclude:: sessions/008.php
@@ -188,8 +188,8 @@ Or you can call ``has()``:
188188
Pushing new value to session data
189189
=================================
190190

191-
The push method is used to push a new value onto a session value that is an array.
192-
For instance, if the 'hobbies' key contains an array of hobbies, you can add a new value onto the array like so:
191+
The ``push()`` method is used to push a new value onto a session value that is an array.
192+
For instance, if the ``hobbies`` key contains an array of hobbies, you can add a new value onto the array like so:
193193

194194
.. literalinclude:: sessions/015.php
195195

@@ -203,7 +203,7 @@ done through ``unset()``:
203203

204204
Also, just as ``set()`` can be used to add information to a
205205
session, ``remove()`` can be used to remove it, by passing the
206-
session key. For example, if you wanted to remove 'some_name' from your
206+
session key. For example, if you wanted to remove ``some_name`` from your
207207
session data array:
208208

209209
.. literalinclude:: sessions/017.php

0 commit comments

Comments
 (0)