From 7d915862917c2f1eb623d8b97451eb2662379522 Mon Sep 17 00:00:00 2001 From: Maks Rafalko Date: Fri, 22 Feb 2019 22:51:07 +0300 Subject: [PATCH] Fix typo: if -> of --- form/data_transformers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form/data_transformers.rst b/form/data_transformers.rst index 005f77dd9d5..2218d0660ac 100644 --- a/form/data_transformers.rst +++ b/form/data_transformers.rst @@ -252,7 +252,7 @@ that message with the ``invalid_message`` option (see below). Using the Transformer ~~~~~~~~~~~~~~~~~~~~~ -Next, you need to use the ``IssueToNumberTransformer`` object inside if ``TaskType`` +Next, you need to use the ``IssueToNumberTransformer`` object inside of ``TaskType`` and add it to the ``issue`` field. No problem! Just add a ``__construct()`` method and type-hint the new class::