Skip to content

Commit d9aaee2

Browse files
committed
Add trailing commas
1 parent 28df070 commit d9aaee2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Controller/ExampleController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ExampleController
3737
*/
3838
public function __construct(
3939
Configuration $config,
40-
Session $session
40+
Session $session,
4141
) {
4242
$this->config = $config;
4343
$this->session = $session;
@@ -55,7 +55,7 @@ public function example(Request $request): Response
5555
$response = new Response(
5656
'Hello World!',
5757
Response::HTTP_OK,
58-
['content-type' => 'text/plain']
58+
['content-type' => 'text/plain'],
5959
);
6060

6161
return $response;

tests/src/Controller/ExampleControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function setUp(): void
3636
'module.enable' => ['examplecomposer' => true],
3737
],
3838
'[ARRAY]',
39-
'simplesaml'
39+
'simplesaml',
4040
);
4141

4242
$this->session = Session::getSessionFromRequest();
@@ -50,7 +50,7 @@ public function testExample(): void
5050
{
5151
$request = Request::create(
5252
'/example',
53-
'GET'
53+
'GET',
5454
);
5555

5656
$c = new Controller\ExampleController($this->config, $this->session);

0 commit comments

Comments
 (0)