Skip to content

Commit 37326d9

Browse files
author
Gregor McKelvie
committed
Methods should have get in front of them
1 parent cd8eba1 commit 37326d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/outgoing/response.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ The methods provided by the parent class that are available are:
242242

243243
.. php:class:: CodeIgniter\\HTTP\\Response
244244
245-
.. php:method:: statusCode()
245+
.. php:method:: getStatusCode()
246246
247247
:returns: The current HTTP status code for this response
248248
:rtype: int
@@ -268,7 +268,7 @@ The methods provided by the parent class that are available are:
268268

269269
$response->setStatusCode(230, "Tardis initiated");
270270

271-
.. php:method:: reason()
271+
.. php:method:: getReason()
272272
273273
:returns: The current reason phrase.
274274
:rtype: string

0 commit comments

Comments
 (0)