mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 22:38:59 +00:00
Merge branch '3.x' into 4.x
* 3.x: Fix the null coalescing operator when the test returns null Fix the Elvis operator when there is some space between ? and : Bump version Prepare the 3.17.0 release Update CHANGELOG
This commit is contained in:
@@ -77,6 +77,16 @@ class TwigTestFoo implements \Iterator
|
||||
return 'foo';
|
||||
}
|
||||
|
||||
public function getEmpty()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function getNull()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getSelf()
|
||||
{
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user