mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
CoreApi: more specific type-hint
This commit is contained in:
parent
e7cfabfe29
commit
c8a3681fa4
@ -797,7 +797,7 @@ constants
|
|||||||
* @param IcingaConfig $config
|
* @param IcingaConfig $config
|
||||||
* @param Db $db
|
* @param Db $db
|
||||||
* @param null $packageName
|
* @param null $packageName
|
||||||
* @return \Icinga\Module\Director\Data\Db\DbObject
|
* @return DirectorDeploymentLog
|
||||||
* @throws \Icinga\Module\Director\Exception\DuplicateKeyException
|
* @throws \Icinga\Module\Director\Exception\DuplicateKeyException
|
||||||
*/
|
*/
|
||||||
public function dumpConfig(IcingaConfig $config, Db $db, $packageName = null)
|
public function dumpConfig(IcingaConfig $config, Db $db, $packageName = null)
|
||||||
@ -806,6 +806,7 @@ constants
|
|||||||
$packageName = $db->settings()->get('icinga_package_name');
|
$packageName = $db->settings()->get('icinga_package_name');
|
||||||
}
|
}
|
||||||
$start = microtime(true);
|
$start = microtime(true);
|
||||||
|
/** @var DirectorDeploymentLog $deployment */
|
||||||
$deployment = DirectorDeploymentLog::create(array(
|
$deployment = DirectorDeploymentLog::create(array(
|
||||||
// 'config_id' => $config->id,
|
// 'config_id' => $config->id,
|
||||||
// 'peer_identity' => $endpoint->object_name,
|
// 'peer_identity' => $endpoint->object_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user