Skip to content

Commit

Permalink
Update getTemplate compatible with Astroid 3.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Apr 5, 2024
1 parent 6e63153 commit 0a18c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/jollyany.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

abstract class JollyanyFramework extends AstroidFramework {
public static $template = null;
public static function getTemplate() {
public static function getTemplate($id = null) : Astroid\Template
{
if (!self::$template) {
self::$template = self::createTemplate();
}
Expand Down

0 comments on commit 0a18c61

Please sign in to comment.