Skip to content

Commit

Permalink
release version 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed May 9, 2024
1 parent 5f15bc2 commit 0bb2014
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii Framework 2 twig extension Change Log
=========================================

2.5.0 under development
-----------------------
2.5.0 May 09, 2024
------------------

- Bug #154: Support for Twig 3.9
In twig 3.9 there were many internal changes that might affect and break codebases using twig:
Expand Down
2 changes: 1 addition & 1 deletion src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class Extension extends AbstractExtension
* @var array used widgets
*/
protected $widgets = [];

/**
* Little hack to work with twig 3.9
* see explanation at the end of yii\twig\ViewRenderer::render function
Expand All @@ -45,6 +44,7 @@ class Extension extends AbstractExtension
*/
protected $viewEndPage = false;


public function withViewEndPage(): bool
{
return $this->viewEndPage;
Expand Down

0 comments on commit 0bb2014

Please sign in to comment.