summaryrefslogtreecommitdiff
path: root/lexer/smarty_internal_templatelexer.plex
diff options
context:
space:
mode:
authoruwetews <uwe.tews@googlemail.com>2018-08-19 02:35:46 +0200
committeruwetews <uwe.tews@googlemail.com>2018-08-19 02:35:46 +0200
commit799b5cb3424f798f133839fbfdc09b613703cdfe (patch)
tree2b721d5436da45c194f9dcdfd62f79265018d729 /lexer/smarty_internal_templatelexer.plex
parentb5e5085391100f26656276e091a0b8034e9f13c9 (diff)
downloadsmarty-799b5cb3424f798f133839fbfdc09b613703cdfe.tar.gz
smarty-799b5cb3424f798f133839fbfdc09b613703cdfe.tar.bz2
smarty-799b5cb3424f798f133839fbfdc09b613703cdfe.zip
- fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475 https://github.com/smarty-php/smarty/pull/473 - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472
Diffstat (limited to 'lexer/smarty_internal_templatelexer.plex')
-rw-r--r--lexer/smarty_internal_templatelexer.plex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer/smarty_internal_templatelexer.plex b/lexer/smarty_internal_templatelexer.plex
index 52ee2d7b..64a39310 100644
--- a/lexer/smarty_internal_templatelexer.plex
+++ b/lexer/smarty_internal_templatelexer.plex
@@ -215,7 +215,7 @@ class Smarty_Internal_Templatelexer
* @param string $source template source
* @param Smarty_Internal_TemplateCompilerBase $compiler
*/
- function __construct($source, Smarty_Internal_TemplateCompilerBase $compiler)
+ public function __construct($source, Smarty_Internal_TemplateCompilerBase $compiler)
{
$this->data = $source;
$this->dataLength = strlen($this->data);