nelmio / NelmioCorsBundle

Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application
https://symfony.com/bundles/NelmioCorsBundle/
MIT License
1.89k stars 108 forks source link

[Doc] Fixed a minor syntax issue #185

Closed javiereguiluz closed 1 year ago

javiereguiluz commented 1 year ago

The docs of this bundle are now online: https://symfony.com/bundles/NelmioCorsBundle/current/index.html

I spotted a minor syntax issue and this PR fixes it. Thanks!

A note for people not used to RST syntax. Code blocks are usually defined like this:

.. code-block:: php

    // ...

However, since PHP examples are so common in Symfony Docs, we use a trick which consists of this:

Any normal text here, like a paragraph::

    // ... PHP code here

More normal text here [...]

The two :: at the end of any text means that the following indented content is a PHP code block.

Seldaek commented 1 year ago

Nice!