Use 'static::' when needed.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
Hugues Peccatte 2015-09-26 23:13:01 +02:00
parent 0f80756fe6
commit faba0fb75d
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ class Advisor
= isset($memory['MemTotal']) ? $memory['MemTotal'] : 0;
// Step 2: Read and parse the list of rules
$this->setParseResult($this->parseRulesFile());
$this->setParseResult(static::parseRulesFile());
// Step 3: Feed the variables to the rules and let them fire. Sets
// $runResult
$this->runRules();

View File

@ -339,7 +339,7 @@ class PMA_Console
. __('Add') . '</span></div>';
$output .= '</div><div class="content bookmark">';
$output .= $this->getBookmarkContent();
$output .= static::getBookmarkContent();
$output .= '</div>';
$output .= '<div class="mid_layer"></div>';
$output .= '<div class="card add">';