mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Replace Hook::all with Hook::get
This commit is contained in:
parent
4f25a1be0f
commit
7579aeaf07
@ -65,7 +65,7 @@ class ConfigurationTabBuilder
|
||||
{
|
||||
/** @var ConfigurationTab $configTab */
|
||||
$configTab = null;
|
||||
foreach (Hook::all(self::HOOK_NAMESPACE) as $configTab) {
|
||||
foreach (Hook::get(self::HOOK_NAMESPACE) as $configTab) {
|
||||
if (!$configTab instanceof ConfigurationTabInterface) {
|
||||
throw new ProgrammingError('tab not instance of ConfigTabInterface');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user