8000 Fix minor syntax errors · symfony/symfony-docs@b63b95f · GitHub
[go: up one dir, main page]

Skip to content

Commit b63b95f

Browse files
committed
Fix minor syntax errors
1 parent 374e521 commit b63b95f

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

components/filesystem.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,12 +478,12 @@ Finding Directories/Root Directories
478478
PHP offers the function :phpfunction:`dirname` to obtain the directory path of a
479479
file path. This method has a few quirks::
480480

481-
- `dirname()` does not accept backslashes on UNIX
482-
- `dirname("C:/Programs")` returns "C:", not "C:/"
483-
- `dirname("C:/")` returns ".", not "C:/"
484-
- `dirname("C:")` returns ".", not "C:/"
485-
- `dirname("Programs")` returns ".", not ""
486-
- `dirname()` does not canonicalize the result
481+
- ``dirname()`` does not accept backslashes on UNIX
482+
- ``dirname("C:/Programs")`` returns "C:", not "C:/"
483+
- ``dirname("C:/")`` returns ".", not "C:/"
484+
- ``dirname("C:")`` returns ".", not "C:/"
485+
- ``dirname("Programs")`` returns ".", not ""
486+
- ``dirname()`` does not canonicalize the result
487487

488488
:method:`Symfony\\Component\\Filesystem\\Path::getDirectory` fixes these
489489
shortcomings::

components/runtime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ application outside of the global state in 6 steps:
384384
returns a :class:`Symfony\\Component\\Runtime\\RunnerInterface`: an instance
385385
that knows how to "run" the application object.
386386
#. The ``RunnerInterface::run(object $application)`` is called and it returns the
387-
exit status code as `int`.
387+
exit status code as ``int``.
388388
#. The PHP engine is terminated with this status code.
389389

390390
When creating a new runtime, there are two things to consider: First, what arguments

components/workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ a ``Definition`` and a way to write the states to the objects (i.e. an
2828
instance of a :class:`Symfony\\Component\\Workflow\\MarkingStore\\MarkingStoreInterface`).
2929

3030
Consider the following example for a blog post. A post can have one of a number
31-
of predefined statuses (`draft`, `reviewed`, `rejected`, `published`). In a workflow,
31+
of predefined statuses (``draft``, ``reviewed``, ``rejected``, ``published``). In a workflow,
3232
these statuses are called **places**. You can define the workflow like this::
3333

3434
use Symfony\Component\Workflow\DefinitionBuilder;

mercure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ Testing
615615

616616
During unit testing it's usually not needed to send updates to Mercure.
617617

618-
You can instead make use of the `MockHub` class::
618+
You can instead make use of the ``MockHub`` class::
619619

620620
// tests/FunctionalTest.php
621621
namespace App\Tests\Unit\Controller;

setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ the server by pressing ``Ctrl+C`` from your terminal.
145145
Symfony Docker Integration
146146
~~~~~~~~~~~~~~~~~~~~~~~~~~
147147

148-
If you'd like to use Docker with Symfony, see :doc:`setup/docker`
148+
If you'd like to use Docker with Symfony, see :doc:`/setup/docker`.
149149

150150
.. _symfony-flex:
151151

0 commit comments

Comments
 (0)
0