}
/**
- * @param $id
+ * @param int $id
*/
public function executeJobById($id) {
$job = $this->_getJob($id);
*
*/
/**
- * @param null $id
+ * @param int $id
* @param null $entity
* @param null $action
*
if ($this->currentJob) {
$dao->job_id = $this->currentJob->id;
$dao->name = $this->currentJob->name;
- $dao->command = ts("Entity:") . " " + $this->currentJob->api_entity + " " . ts("Action:") . " " + $this->currentJob->api_action;
+ $dao->command = ts("Entity:") . " " . $this->currentJob->api_entity . " " . ts("Action:") . " " . $this->currentJob->api_action;
$data = "";
if (!empty($this->currentJob->parameters)) {
$data .= "\n\nParameters raw (from db settings): \n" . $this->currentJob->parameters;