mirror of
https://github.com/Karaka-Management/oms-Checklist.git
synced 2026-01-11 15:28:41 +00:00
code fixes
This commit is contained in:
parent
19f82b3e85
commit
03ff82e5e2
|
|
@ -40,6 +40,11 @@ class Checklist
|
|||
|
||||
public array $tasks = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->createdAt = new \DateTimeImmutable();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @template T of Checklist
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ChecklistMapper extends DataMapperFactory
|
||||
|
|
|
|||
|
|
@ -49,6 +49,11 @@ class ChecklistTemplate
|
|||
*/
|
||||
public array $tasks = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->start = new \DateTime();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @template T of ChecklistTemplate
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ChecklistTemplateMapper extends DataMapperFactory
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @template T of ChecklistTemplateTask
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ChecklistTemplateTaskMapper extends DataMapperFactory
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace Modules\Checklist\Models;
|
|||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*/
|
||||
final class NullChecklistTask extends ChecklistTask
|
||||
final class NullChecklistTemplateTask extends ChecklistTemplateTask
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
use Modules\Tasks\Models\TaskPriority;
|
||||
use phpOMS\Stdlib\Base\SmartDateTime;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user