mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 21:34:42 +03:00
Use "get" prfix for AbstractStyle::defaultConfigurations
This commit is contained in:
parent
3a01ec4d26
commit
db710b9e06
@ -89,7 +89,7 @@ abstract class AbstractStyle
|
||||
// Load configurations from file, merge it with default configs and
|
||||
// cache the result.
|
||||
$loaded_config = parse_ini_file($config_file, true);
|
||||
$default_config = $this->defaultConfigurations();
|
||||
$default_config = $this->getDefaultConfigurations();
|
||||
$this->cachedConfigurations = $loaded_config + $default_config;
|
||||
}
|
||||
|
||||
@ -138,5 +138,5 @@ abstract class AbstractStyle
|
||||
*
|
||||
* @return array Default configurations of the style
|
||||
*/
|
||||
abstract protected function defaultConfigurations();
|
||||
abstract protected function getDefaultConfigurations();
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ class ChatStyle extends AbstractStyle implements StyleInterface
|
||||
*
|
||||
* @return array Default configurations of the style
|
||||
*/
|
||||
protected function defaultConfigurations()
|
||||
protected function getDefaultConfigurations()
|
||||
{
|
||||
return array(
|
||||
'chat' => array(
|
||||
|
@ -111,7 +111,7 @@ class InvitationStyle extends AbstractStyle implements StyleInterface
|
||||
*
|
||||
* @return array Default configurations of the style
|
||||
*/
|
||||
protected function defaultConfigurations()
|
||||
protected function getDefaultConfigurations()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
@ -146,7 +146,7 @@ class PageStyle extends AbstractStyle implements StyleInterface
|
||||
*
|
||||
* @return array Default configurations of the style
|
||||
*/
|
||||
protected function defaultConfigurations()
|
||||
protected function getDefaultConfigurations()
|
||||
{
|
||||
return array(
|
||||
'history' => array(
|
||||
|
Loading…
Reference in New Issue
Block a user