Skip to content

Commit 7b5e5f2

Browse files
committed
Add trailing commas
1 parent b97a186 commit 7b5e5f2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Controller/PreProdWarning.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class PreProdWarning
6161
*/
6262
public function __construct(
6363
Configuration $config,
64-
Session $session
64+
Session $session,
6565
) {
6666
$this->config = $config;
6767
$this->session = $session;

tests/src/Controller/PreProdWarningTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function setUp(): void
4444
'module.enable' => ['preprodwarning' => true],
4545
],
4646
'[ARRAY]',
47-
'simplesaml'
47+
'simplesaml',
4848
);
4949

5050
$this->session = Session::getSessionFromRequest();
@@ -67,7 +67,7 @@ public function testMissingStateIdThrowsException(): void
6767
{
6868
$request = Request::create(
6969
'/warning',
70-
'GET'
70+
'GET',
7171
);
7272

7373
$c = new Controller\PreProdWarning($this->config, $this->session);
@@ -88,7 +88,7 @@ public function testWarning(): void
8888
$request = Request::create(
8989
'/warning',
9090
'GET',
91-
['StateId' => 'someStateId']
91+
['StateId' => 'someStateId'],
9292
);
9393

9494
$c = new Controller\PreProdWarning($this->config, $this->session);
@@ -115,7 +115,7 @@ public function testWarningAccepted(): void
115115
$request = Request::create(
116116
'/warning',
117117
'GET',
118-
['StateId' => 'someStateId', 'yes' => 'yes']
118+
['StateId' => 'someStateId', 'yes' => 'yes'],
119119
);
120120

121121
$c = new Controller\PreProdWarning($this->config, $this->session);

0 commit comments

Comments
 (0)