Fabien Potencier 870da7f0b1 minor #4016 Fix param name in docblock (minor) (smnandre)
This PR was squashed before being merged into the 3.x branch.

Discussion
----------

Fix param name in docblock (minor)

Fix wrong var name in Docblock

[CoreExtension::striptags()](https://github.com/twigphp/Twig/commit/dd81f28507de5c45b99e91dafa5a9908c2686dde#diff-29e85e483c6ec4a9c2fd144820b6722c86df60d54175b355d85e806253313c1aL1221)
```diff
     * Strips HTML and PHP tags from a string.
     *
     * `@param` string|null          $string
-     * `@param` string[]|string|null $string
+     * `@param` string[]|string|null $allowable_tags
     *
     */
    public static function striptags($string, $allowable_tags = null)
    {
```

--

Also added some missing nullable in `@param` annotations, not sure if expected :|

Commits
-------

2d262bc3 Fix param name in docblock (minor)
2024-04-03 13:36:39 +02:00
2024-02-10 09:52:03 +01:00
2024-04-03 13:36:36 +02:00
2024-02-07 12:11:29 +01:00
2023-12-09 12:45:27 +01:00

Twig, the flexible, fast, and secure template language for PHP
==============================================================

Twig is a template language for PHP.

Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.

Sponsors
--------

.. raw:: html

    <a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
        <img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
    </a>

More Information
----------------

Read the `documentation`_ for more information.

.. _documentation: https://twig.symfony.com/documentation
Languages
PHP 99.9%