diff options
author | Andreas Gohr <andi@splitbrain.org> | 2015-07-18 13:31:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2015-07-18 13:31:20 +0200 |
commit | e1a2b632534c455bc0b4c11956de7ea62af60e38 (patch) | |
tree | e5d1dc9dedb0904fded8a8463a099c5620b5027a /inc/cliopts.php | |
parent | 51d83b85e139e124f20b972d632b8ba2cb3d3458 (diff) | |
parent | c175e043e167877c54c7823870ab7a75141b062e (diff) | |
download | rpg-e1a2b632534c455bc0b4c11956de7ea62af60e38.tar.gz rpg-e1a2b632534c455bc0b4c11956de7ea62af60e38.tar.bz2 |
Merge pull request #1159 from splitbrain/morephp7
More php7 improvements
Diffstat (limited to 'inc/cliopts.php')
-rw-r--r-- | inc/cliopts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/cliopts.php b/inc/cliopts.php index 7d71c7dc9..d7d06119a 100644 --- a/inc/cliopts.php +++ b/inc/cliopts.php @@ -447,7 +447,7 @@ class Doku_Cli_Opts_Error { var $code; var $msg; - function Doku_Cli_Opts_Error($code, $msg) { + function __construct($code, $msg) { $this->code = $code; $this->msg = $msg; } @@ -468,7 +468,7 @@ class Doku_Cli_Opts_Container { var $options = array(); var $args = array(); - function Doku_Cli_Opts_Container($options) { + function __construct($options) { foreach ( $options[0] as $option ) { if ( false !== ( strpos($option[0], '--') ) ) { $opt_name = substr($option[0], 2); |