Skip to content

twigphp/Twig

3.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

…onparser arrays (VincentLanglet)

This PR was squashed before being merged into the 3.x branch.

Discussion
----------

Improve phpdoc of ExtensionInterface/Environment/Expressionparser arrays

Binary and Unary operator have a really specific format
```
array<string, array{precedence: int, class: class-string}>,
array<string, array{precedence: int, class: class-string, associativity: int}>
```
so it's worth to mention that in the phpdoc rather than `array<array>`

Commits
-------

e98a652 Improve phpdoc of ExtensionInterface/Environment/Expressionparser arrays
b5ec7ab

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

Blackfire.io

More Information

Read the documentation for more information.