Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
okinaka committed Sep 25, 2016
1 parent d69cba4 commit cbb3941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion en/controllers/components/request-handling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ callbacks like ``json_decode``::
$this->RequestHandler->config('inputTypeMap.json', ['json_decode', true]);

The above will make ``$this->request->data`` an array of the JSON input data,
without the additional ``true`` you'd get a set of ``StdClass`` objects.
without the additional ``true`` you'd get a set of ``stdClass`` objects.

.. deprecated:: 3.1.0
As of 3.1.0 the ``addInputType()`` method is deprecated. You should use
Expand Down
2 changes: 1 addition & 1 deletion fr/controllers/components/request-handling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ au callback, c'est très utile pour les callbacks comme ``json_decode``::

Le contenu ci-dessus créera ``$this->request->data`` un tableau des données
d'entrées JSON, sans le ``true`` supplémentaire vous obtiendrez un jeu
d'objets ``StdClass``.
d'objets ``stdClass``.

.. deprecated:: 3.1.0
Depuis 3.1.0 la méthode ``addInputType()`` est dépréciée. Vous devez
Expand Down

0 comments on commit cbb3941

Please sign in to comment.