Skip to content

Commit a3b5ee9

Browse files
committed
Bug fucking gix
1 parent 9b86063 commit a3b5ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WorkerJS/PHPClient/MySQLTaskStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function getTask($taskID){
2929
}
3030
}
3131

32-
public function setTask($taskID, $task){
32+
public function setTask($taskID, Task $task){
3333
mysqli_query($this->connection, "INSERT INTO `tasks` (`taskID`, `task`) VALUES (".intval($taskID).", '".mysqli_real_escape_string($this->link, json_encode($task->getTask()))."')");
3434
}
3535
}

0 commit comments

Comments
 (0)