From 7c8b9231792d00a96c717a64bce7491375bb4c56 Mon Sep 17 00:00:00 2001 From: gnito-org <70450336+gnito-org@users.noreply.github.com> Date: Tue, 14 Dec 2021 17:00:45 -0400 Subject: [PATCH] Correct spelling & grammar in 4.4 introduction/ --- introduction/from_flat_php_to_symfony.rst | 2 +- introduction/http_fundamentals.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/introduction/from_flat_php_to_symfony.rst b/introduction/from_flat_php_to_symfony.rst index d6d631d6857..b2840d1a17d 100644 --- a/introduction/from_flat_php_to_symfony.rst +++ b/introduction/from_flat_php_to_symfony.rst @@ -402,7 +402,7 @@ have *many* controller functions: one for each page. By now, the application has evolved from a single PHP file into a structure that is organized and allows for code reuse. You should be happier, but far -from satisfied. For example, the routing system is fickle, and wouldn't +from being satisfied. For example, the routing system is fickle, and wouldn't recognize that the list page - ``/index.php`` - should be accessible also via ``/`` (if Apache rewrite rules were added). Also, instead of developing the blog, a lot of time is being spent working on the "architecture" of the code (e.g. diff --git a/introduction/http_fundamentals.rst b/introduction/http_fundamentals.rst index 5e11f44c007..5cb74615c2c 100644 --- a/introduction/http_fundamentals.rst +++ b/introduction/http_fundamentals.rst @@ -234,10 +234,10 @@ have all the request information at your fingertips:: $request->getMethod(); // e.g. GET, POST, PUT, DELETE or HEAD $request->getLanguages(); // an array of languages the client accepts -As a bonus, the ``Request`` class does a lot of work in the background that -you'll never need to worry about. For example, the ``isSecure()`` method +As a bonus, the ``Request`` class does a lot of work in the background about which +you will never need to worry. For example, the ``isSecure()`` method checks the *three* different values in PHP that can indicate whether or not -the user is connecting via a secured connection (i.e. HTTPS). +the user is connecting via a secure connection (i.e. HTTPS). Symfony Response Object ~~~~~~~~~~~~~~~~~~~~~~~