Skip to content

Commit 633dedc

Browse files
committed
phpcs fix
Signed-off-by: MarioRadu <magda_marior@yahoo.com>
1 parent 4fc58d9 commit 633dedc

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

test/Unit/Page/Handler/GetPageViewHandlerTest.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace AdminTest\Unit\Page\Handler;
46

57
use Admin\Page\Handler\GetPageViewHandler;
@@ -17,9 +19,9 @@ class GetPageViewHandlerTest extends UnitTest
1719
*/
1820
public function testPageWillReturnHtmlTemplate(): void
1921
{
20-
$request = $this->createMock(ServerRequestInterface::class);
22+
$request = $this->createMock(ServerRequestInterface::class);
2123
$routeResult = $this->createMock(RouteResult::class);
22-
$template = $this->createMock(TemplateRendererInterface::class);
24+
$template = $this->createMock(TemplateRendererInterface::class);
2325

2426
$routeResult->method('getMatchedRouteName')->willReturn('test');
2527
$template->method('render')->willReturn('<p></p>');
@@ -36,4 +38,4 @@ public function testPageWillReturnHtmlTemplate(): void
3638
$this->assertSame($response->getHeader('content-type')[0], 'text/html; charset=utf-8');
3739
$this->assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode());
3840
}
39-
}
41+
}

test/Unit/Setting/Handler/StoreSettingHandlerTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ public function setUp(): void
4343
parent::setUp();
4444

4545
$this->authenticationService = $this->createMock(AuthenticationServiceInterface::class);
46-
$this->adminService = $this->createMock(AdminService::class);
47-
$this->settingService = $this->createMock(SettingService::class);
48-
$this->request = $this->createMock(ServerRequestInterface::class);
46+
$this->adminService = $this->createMock(AdminService::class);
47+
$this->settingService = $this->createMock(SettingService::class);
48+
$this->request = $this->createMock(ServerRequestInterface::class);
4949
$this->stream = $this->createMock(StreamInterface::class);
50-
$this->adminRepository = $this->createMock(AdminRepository::class);
51-
$this->identity = $this->createMock(AdminIdentity::class);
52-
$this->admin = $this->createMock(Admin::class);
50+
$this->adminRepository = $this->createMock(AdminRepository::class);
51+
$this->identity = $this->createMock(AdminIdentity::class);
52+
$this->admin = $this->createMock(Admin::class);
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)