Skip to content

Commit 10d57dc

Browse files
committed
Fix bugs and missing RequestHandler class
1 parent a04c605 commit 10d57dc

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/Controller/GithubController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@ public function create_issue($reportId): ?Response
132132
*
133133
* @param int $reportId The report Id
134134
* @throws NotFoundException
135-
* @return void Nothing
136135
*/
137-
public function link_issue($reportId): void
136+
public function link_issue($reportId): Response
138137
{
139138
if (empty($reportId)) {
140139
throw new NotFoundException('Invalid report Id.');

src/Controller/NotificationsController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class NotificationsController extends AppController
4949
public function initialize(): void
5050
{
5151
parent::initialize();
52-
$this->loadComponent('RequestHandler');
5352
$this->loadComponent('OrderSearch');
5453
$this->viewBuilder()->setHelpers([
5554
'Html',

src/Controller/ReportsController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class ReportsController extends AppController
5454
public function initialize(): void
5555
{
5656
parent::initialize();
57-
$this->loadComponent('RequestHandler');
5857
$this->loadComponent('OrderSearch');
5958
$this->viewBuilder()->setHelpers([
6059
'Html',

0 commit comments

Comments
 (0)