/*
* This file is part of Psy Shell.
*
- * (c) 2012-2017 Justin Hileman
+ * (c) 2012-2018 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
public function __construct(Presenter $presenter)
{
@trigger_error('InterfaceEnumerator is no longer used', E_USER_DEPRECATED);
+ parent::__construct($presenter);
}
/**
return;
}
- return array(
+ return [
'Interfaces' => $interfaces,
- );
+ ];
}
/**
natcasesort($interfaces);
// My kingdom for a generator.
- $ret = array();
+ $ret = [];
foreach ($interfaces as $name) {
if ($this->showItem($name)) {
- $ret[$name] = array(
+ $ret[$name] = [
'name' => $name,
'style' => self::IS_CLASS,
'value' => $this->presentSignature($name),
- );
+ ];
}
}