diff --git a/book/doctrine.rst b/book/doctrine.rst index 026a3b4f977..68fc9faeb0b 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -622,7 +622,7 @@ Once you have your repository, you have access to all sorts of helpful methods:: You can also take advantage of the useful ``findBy`` and ``findOneBy`` methods to easily fetch objects based on multiple conditions:: - // query for one product matching be name and price + // query for one product matching by name and price $product = $repository->findOneBy(array('name' => 'foo', 'price' => 19.99)); // query for all products matching the name, ordered by price diff --git a/components/http_foundation/sessions.rst b/components/http_foundation/sessions.rst index 4a1bf6484bb..19111fa644c 100644 --- a/components/http_foundation/sessions.rst +++ b/components/http_foundation/sessions.rst @@ -254,7 +254,7 @@ has a simple API Adds a flash message to the stack of specified type; * :method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::set`: - Sets flashes by type; This method conveniently takes both singles messages as + Sets flashes by type; This method conveniently takes both single messages as a ``string`` or multiple messages in an ``array``. * :method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::get`: diff --git a/components/http_kernel/introduction.rst b/components/http_kernel/introduction.rst index 40bb2bddd06..5b2b180b0e8 100644 --- a/components/http_kernel/introduction.rst +++ b/components/http_kernel/introduction.rst @@ -646,7 +646,7 @@ your controller). :align: center To execute a sub request, use ``HttpKernel::handle``, but change the second -arguments as follows:: +argument as follows:: use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\HttpKernelInterface; diff --git a/components/intl.rst b/components/intl.rst index e65ba77dbf5..34ed07448e7 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -78,7 +78,7 @@ code:: These versions are important when you deploy your application to a **server with a lower ICU version** than your development machines, because deployment will - fail if + fail if: * the development machines are compiled with ICU 4.4 or higher, but the server is compiled with a lower ICU version than 4.4;