@@ -22,7 +22,7 @@ it suffers from a few problems::
2222    printf('Hello %s', $name); 
2323
2424First, if the ``name `` query parameter is not defined in the URL query string,
25- you will get a PHP warning; so  let's fix it::
25+ you will get a PHP warning; let's fix it::
2626
2727    // framework/index.php 
2828    $name = $_GET['name'] ?? 'World'; 
@@ -93,8 +93,8 @@ reading this book now and go back to whatever code you were working on before.
9393Going OOP with the HttpFoundation Component
9494------------------------------------------- 
9595
96- Writing web code is about interacting with HTTP. So, the  fundamental
97- principles  of our framework should be around the `HTTP specification `_.
96+ Writing web code is about interacting with HTTP. The  fundamental principles 
97+ of our framework should be around the `HTTP specification `_.
9898
9999The HTTP specification describes how a client (a browser for instance)
100100interacts with a server (our application via a web server). The dialog between
@@ -261,7 +261,7 @@ explicitly trust your reverse proxies by calling ``setTrustedProxies()``::
261261        // the client is a known one, so give it some more privilege 
262262    } 
263263
264- So, the  ``getClientIp() `` method works securely in all circumstances. You can
264+ The  ``getClientIp() `` method works securely in all circumstances. You can
265265use it in all your projects, whatever the configuration is, it will behave
266266correctly and safely. That's one of the goals of using a framework. If you were
267267to write a framework from scratch, you would have to think about all these
0 commit comments