diff --git a/pandora_console/include/lib/Agent.php b/pandora_console/include/lib/Agent.php index 16e1c7c5a0..cfba92f526 100644 --- a/pandora_console/include/lib/Agent.php +++ b/pandora_console/include/lib/Agent.php @@ -104,11 +104,11 @@ class Agent extends Entity /** * Return last value (status) of the agent. * - * @param boolean $recalc Forcre recalculation. + * @param boolean $force Force recalculation. * * @return integer Status of the agent. */ - public function lastStatus($force=false) + public function lastStatus(bool $force=false) { if ($force === true) { return \agents_get_status(