mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
various: code style
This commit is contained in:
parent
f77e9433d0
commit
e30bafc62e
@ -942,7 +942,12 @@ abstract class DbObject
|
|||||||
//return false;
|
//return false;
|
||||||
$class = get_called_class();
|
$class = get_called_class();
|
||||||
if (! array_key_exists($class, self::$prefetchStats)) {
|
if (! array_key_exists($class, self::$prefetchStats)) {
|
||||||
self::$prefetchStats[$class] = (object) array('miss' => 0, 'hits' => 0, 'hitNames' => 0, 'combinedMiss' => 0);
|
self::$prefetchStats[$class] = (object) array(
|
||||||
|
'miss' => 0,
|
||||||
|
'hits' => 0,
|
||||||
|
'hitNames' => 0,
|
||||||
|
'combinedMiss' => 0
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($key)) {
|
if (is_array($key)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user