Skip to content

Commit

Permalink
Issue coral-erm#326: Fix statically called non-static method.
Browse files Browse the repository at this point in the history
  • Loading branch information
t4k committed Nov 2, 2017
1 parent e65b038 commit 7df41d6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion auth/admin/classes/common/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function init(NamedArguments $arguments) {

// Save config array content as Configuration properties
foreach ($config as $section => $entries) {
$this->$section = Utility::objectFromArray($entries);
$this->$section = (new Utility())->objectFromArray($entries);
}
}

Expand Down
2 changes: 1 addition & 1 deletion licensing/admin/classes/common/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function init(NamedArguments $arguments) {

// Save config array content as Configuration properties
foreach ($config as $section => $entries) {
$this->$section = Utility::objectFromArray($entries);
$this->$section = (new Utility())->objectFromArray($entries);
}
}

Expand Down
2 changes: 1 addition & 1 deletion management/admin/classes/common/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function init(NamedArguments $arguments) {

// Save config array content as Configuration properties
foreach ($config as $section => $entries) {
$this->$section = Utility::objectFromArray($entries);
$this->$section = (new Utility())->objectFromArray($entries);
}
}

Expand Down
2 changes: 1 addition & 1 deletion organizations/admin/classes/common/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function init(NamedArguments $arguments) {

// Save config array content as Configuration properties
foreach ($config as $section => $entries) {
$this->$section = Utility::objectFromArray($entries);
$this->$section = (new Utility())->objectFromArray($entries);
}
}

Expand Down
2 changes: 1 addition & 1 deletion resources/admin/classes/common/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function init(NamedArguments $arguments) {

// Save config array content as Configuration properties
foreach ($config as $section => $entries) {
$this->$section = Utility::objectFromArray($entries);
$this->$section = (new Utility())->objectFromArray($entries);
}
}

Expand Down
2 changes: 1 addition & 1 deletion usage/admin/classes/common/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function init(NamedArguments $arguments) {

// Save config array content as Configuration properties
foreach ($config as $section => $entries) {
$this->$section = Utility::objectFromArray($entries);
$this->$section = (new Utility())->objectFromArray($entries);
}
}

Expand Down

0 comments on commit 7df41d6

Please sign in to comment.