mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-24 18:37:54 +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 Db $db
|
||||
* @param null $packageName
|
||||
* @return \Icinga\Module\Director\Data\Db\DbObject
|
||||
* @return DirectorDeploymentLog
|
||||
* @throws \Icinga\Module\Director\Exception\DuplicateKeyException
|
||||
*/
|
||||
public function dumpConfig(IcingaConfig $config, Db $db, $packageName = null)
|
||||
@ -806,6 +806,7 @@ constants
|
||||
$packageName = $db->settings()->get('icinga_package_name');
|
||||
}
|
||||
$start = microtime(true);
|
||||
/** @var DirectorDeploymentLog $deployment */
|
||||
$deployment = DirectorDeploymentLog::create(array(
|
||||
// 'config_id' => $config->id,
|
||||
// 'peer_identity' => $endpoint->object_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user