Skip to content

Commit

Permalink
Feature Fix (#9)
Browse files Browse the repository at this point in the history
This pr fixes and incorrect data type in DTO
  • Loading branch information
RhysLees authored Nov 21, 2023
1 parent e676864 commit 008bbd4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ CodebarAg\LaravelMicrosoftPlanner\Data\Task {
+startDateTime: Carbon // Carbon\Carbon|null
+createdDateTime: Carbon // Carbon\Carbon
+dueDateTime: Carbon // Carbon\Carbon|null
+recurrence: null // string|null
+recurrence: null // array|null
+hasDescription: true // bool
+specifiedCompletionRequirements: "none" // string
+previewType: "noPreview" // string
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ parameters:
level: 1
paths:
- src
- config
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct(
public ?Carbon $startDateTime,
public Carbon $createdDateTime,
public ?Carbon $dueDateTime,
public ?string $recurrence,
public ?array $recurrence,
public bool $hasDescription,
public string $specifiedCompletionRequirements,
public string $previewType,
Expand Down

0 comments on commit 008bbd4

Please sign in to comment.