Skip to content

Commit

Permalink
Use PHP 5 constructors in our own parsers too.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Sep 6, 2017
1 parent f8bbefd commit 37ffba5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wicked/lib/Text_Wiki/Text/Wiki/Parse/BBCode/Attribute.php
Expand Up @@ -17,7 +17,7 @@ class Text_Wiki_Parse_Attribute extends Text_Wiki_Parse

public function __construct(&$obj)
{
parent::Text_Wiki_Parse($obj);
parent::__construct($obj);

$this->regex = '/((?:\[\[' . Wicked::REGEXP_WIKIWORD .
':\s+.*?\]\]\s*)+)/';
Expand Down
2 changes: 1 addition & 1 deletion wicked/lib/Text_Wiki/Text/Wiki/Parse/Cowiki/Attribute.php
Expand Up @@ -17,7 +17,7 @@ class Text_Wiki_Parse_Attribute extends Text_Wiki_Parse

public function __construct(&$obj)
{
parent::Text_Wiki_Parse($obj);
parent::__construct($obj);

$this->regex = '/((?:\[\[' . Wicked::REGEXP_WIKIWORD .
':\s+.*?\]\]\s*)+)/';
Expand Down
2 changes: 1 addition & 1 deletion wicked/lib/Text_Wiki/Text/Wiki/Parse/Creole/Attribute.php
Expand Up @@ -17,7 +17,7 @@ class Text_Wiki_Parse_Attribute extends Text_Wiki_Parse

public function __construct(&$obj)
{
parent::Text_Wiki_Parse($obj);
parent::__construct($obj);

$this->regex = '/((?:\[\[' . Wicked::REGEXP_WIKIWORD .
':\s+.*?\]\]\s*)+)/';
Expand Down
2 changes: 1 addition & 1 deletion wicked/lib/Text_Wiki/Text/Wiki/Parse/Default/Attribute.php
Expand Up @@ -17,7 +17,7 @@ class Text_Wiki_Parse_Attribute extends Text_Wiki_Parse

public function __construct(&$obj)
{
parent::Text_Wiki_Parse($obj);
parent::__construct($obj);

$this->regex = '/((?:\[\[' . Wicked::REGEXP_WIKIWORD .
':\s+.*?\]\]\s*)+)/';
Expand Down
Expand Up @@ -17,7 +17,7 @@ class Text_Wiki_Parse_Attribute extends Text_Wiki_Parse

public function __construct(&$obj)
{
parent::Text_Wiki_Parse($obj);
parent::__construct($obj);

$this->regex = '/((?:\[\[' . Wicked::REGEXP_WIKIWORD .
':\s+.*?\]\]\s*)+)/';
Expand Down
2 changes: 1 addition & 1 deletion wicked/lib/Text_Wiki/Text/Wiki/Parse/Tiki/Attribute.php
Expand Up @@ -17,7 +17,7 @@ class Text_Wiki_Parse_Attribute extends Text_Wiki_Parse

public function __construct(&$obj)
{
parent::Text_Wiki_Parse($obj);
parent::__construct($obj);

$this->regex = '/((?:\[\[' . Wicked::REGEXP_WIKIWORD .
':\s+.*?\]\]\s*)+)/';
Expand Down

0 comments on commit 37ffba5

Please sign in to comment.