* avatar overrides added
* cli commands framework added * labinfo service for lab temp monitoring * kanban entry label support
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace App\Action;
|
||||
|
||||
use App\Response\JsonCorsResponse;
|
||||
use App\Service\DataCollectorService;
|
||||
use App\Service\JiraCollectorService;
|
||||
use Interop\Http\ServerMiddleware\DelegateInterface;
|
||||
use Interop\Http\ServerMiddleware\MiddlewareInterface as ServerMiddlewareInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
@@ -12,7 +12,7 @@ class KanbanAction implements ServerMiddlewareInterface
|
||||
{
|
||||
private $dataCollector;
|
||||
|
||||
public function __construct(DataCollectorService $dataCollectorService)
|
||||
public function __construct(JiraCollectorService $dataCollectorService)
|
||||
{
|
||||
$this->dataCollector = $dataCollectorService;
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace App\Action;
|
||||
|
||||
use App\Service\DataCollectorService;
|
||||
use App\Service\JiraCollectorService;
|
||||
use Interop\Container\ContainerInterface;
|
||||
|
||||
class KanbanFactory
|
||||
{
|
||||
public function __invoke(ContainerInterface $container)
|
||||
{
|
||||
$dataCollectorService = $container->get(DataCollectorService::class);
|
||||
$dataCollectorService = $container->get(JiraCollectorService::class);
|
||||
return new KanbanAction($dataCollectorService);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user