diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2015-05-15 19:33:44 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2015-05-15 19:33:44 +0200 |
commit | 45e8987e1f40331011f6c91dab7bff6cb34631ce (patch) | |
tree | 1cb4d81a254a75b974e7c1f77c7afe43c1aadcc3 /inc/parser/lexer.php | |
parent | 5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0 (diff) | |
download | rpg-45e8987e1f40331011f6c91dab7bff6cb34631ce.tar.gz rpg-45e8987e1f40331011f6c91dab7bff6cb34631ce.tar.bz2 |
more object type hints and removal of '&' operator before objects
Diffstat (limited to 'inc/parser/lexer.php')
-rw-r--r-- | inc/parser/lexer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index 5afcc520a..17aa6c170 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -296,11 +296,11 @@ class Doku_Lexer { * @param boolean $case True for case sensitive. * @access public */ - function __construct(&$parser, $start = "accept", $case = false) { + function __construct($parser, $start = "accept", $case = false) { $this->_case = $case; /** @var Doku_LexerParallelRegex[] _regexes */ $this->_regexes = array(); - $this->_parser = &$parser; + $this->_parser = $parser; $this->_mode = new Doku_LexerStateStack($start); $this->_mode_handlers = array(); } |