@@ -181,7 +181,7 @@ of the application are isolated in a new file called ``model.php``::
181181 in this example, only a portion (or none) of the model is actually concerned
182182 with accessing a database.
183183
184- The controller (``index.php ``) is now is just a few lines of code::
184+ The controller (``index.php ``) is now just a few lines of code::
185185
186186 // index.php
187187 require_once 'model.php';
@@ -262,7 +262,7 @@ an individual blog result based on a given id::
262262 {
263263 $connection = open_database_connection();
264264
265- $query = 'SELECT created_at, title, body FROM post WHERE id=:id';
265+ $query = 'SELECT created_at, title, body FROM post WHERE id=:id';
266266 $statement = $connection->prepare($query);
267267 $statement->bindValue(':id', $id, PDO::PARAM_INT);
268268 $statement->execute();
@@ -533,7 +533,7 @@ a simple application. Along the way, you've made a simple routing
533533system and a method using ``ob_start() `` and ``ob_get_clean() `` to render
534534templates. If, for some reason, you needed to continue building this "framework"
535535from scratch, you could at least use Symfony's standalone
536- :doc: `Routing </components/routing >` and component and :doc: `Twig </templating >`,
536+ :doc: `Routing </components/routing >` component and :doc: `Twig </templating >`,
537537which already solve these problems.
538538
539539Instead of re-solving common problems, you can let Symfony take care of
0 commit comments