fix: syntax config
This commit is contained in:
@@ -42,7 +42,7 @@ class Taskwarrior {
|
||||
|
||||
public function __construct(Config $config){
|
||||
if(!isset($config)){
|
||||
$this->config = new Configwg();
|
||||
$this->config = new Config();
|
||||
}
|
||||
$this->config = $config;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ class TaskwarriorManager {
|
||||
|
||||
public function addTask(VTodo $document){
|
||||
|
||||
$task = $this->taskwarrior->createTask($document->UID);
|
||||
$task = $this->taskwarrior->createTask((string)$document->UID);
|
||||
|
||||
$task->setDescription($document);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user