Skip to content

Commit 0bb2014

Browse files
committed
release version 2.5.0
1 parent 5f15bc2 commit 0bb2014

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Yii Framework 2 twig extension Change Log
22
=========================================
33

4-
2.5.0 under development
5-
-----------------------
4+
2.5.0 May 09, 2024
5+
------------------
66

77
- Bug #154: Support for Twig 3.9
88
In twig 3.9 there were many internal changes that might affect and break codebases using twig:

src/Extension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class Extension extends AbstractExtension
3636
* @var array used widgets
3737
*/
3838
protected $widgets = [];
39-
4039
/**
4140
* Little hack to work with twig 3.9
4241
* see explanation at the end of yii\twig\ViewRenderer::render function
@@ -45,6 +44,7 @@ class Extension extends AbstractExtension
4544
*/
4645
protected $viewEndPage = false;
4746

47+
4848
public function withViewEndPage(): bool
4949
{
5050
return $this->viewEndPage;

0 commit comments

Comments
 (0)