mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix syntax errors
This commit is contained in:
parent
a9e7114375
commit
9fe423db62
@ -55,7 +55,7 @@ class UpdateChecker
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $errors = [];
|
||||
private $errors = array();
|
||||
|
||||
/**
|
||||
* Sets URL of updates server.
|
||||
@ -219,7 +219,7 @@ class UpdateChecker
|
||||
protected function getPluginsInfo()
|
||||
{
|
||||
if (is_null($this->pluginsInfo)) {
|
||||
$this->pluginsInfo = [];
|
||||
$this->pluginsInfo = array();
|
||||
$names = PluginUtils::discoverPlugins();
|
||||
foreach ($names as $plugin_name) {
|
||||
$info = new PluginInfo($plugin_name);
|
||||
|
Loading…
Reference in New Issue
Block a user