fix: syntax config
This commit is contained in:
parent
4d96cc4e8c
commit
a2b2073bad
@ -16,7 +16,8 @@
|
||||
"sabre/dav": "~3.1.2",
|
||||
"sabre/vobject": "^4.0",
|
||||
"easycorp/easy-log-handler": "^1.0",
|
||||
"zendframework/zend-validator": "^2.10"
|
||||
"zendframework/zend-validator": "^2.10",
|
||||
"nesbot/carbon": "^1.14"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit" : "> 4.8, <=6.0.0"
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user