mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ImportSource: better IDE hints
This commit is contained in:
parent
93a42c7fc8
commit
bbcdf22466
@ -36,11 +36,20 @@ class ImportSource extends DbObjectWithSettings
|
||||
|
||||
private $rowModifiers;
|
||||
|
||||
/**
|
||||
* @param bool $required
|
||||
* @return ImportRun|null
|
||||
*/
|
||||
public function fetchLastRun($required = false)
|
||||
{
|
||||
return $this->fetchLastRunBefore(time() + 1, $required);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $timestamp
|
||||
* @param bool $required
|
||||
* @return ImportRun|null
|
||||
*/
|
||||
public function fetchLastRunBefore($timestamp, $required = false)
|
||||
{
|
||||
if (! $this->hasBeenLoadedFromDb()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user