diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 680d17a..da6fbab 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -114,7 +114,7 @@ final class ApiController extends Controller __DIR__ . '/../../../Modules/Media/Files' . $path ); - // @todo: I think we need to add the uploaded files to the collection. + // @todo I think we need to add the uploaded files to the collection. // The frontend should work without it because of some "smart" corrections (virtualPath), but it is not correct. // In the db there should be a relationship defined, no? // If that is the case, maybe we also need to adjust the api. Either the uploadFiles should create the collection (if specified) diff --git a/Models/Label.php b/Models/Label.php index 86d9cf3..047facf 100644 --- a/Models/Label.php +++ b/Models/Label.php @@ -65,7 +65,7 @@ class Label foreach ($this->elements as $element) { $color = 0; - // @todo: replace int type with enum + // @todo replace int type with enum if ($element instanceof Shape) { if ($element->type === ShapeType::LINE) { if ($element->borderThickness === 1) {