Skip to content

Commit ffe4aae

Browse files
author
j.bebendorf
committed
Linting
1 parent d46d357 commit ffe4aae

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/LtiDeepLinkResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public function toArray()
110110
'url' => $this->url,
111111
'presentation' => [
112112
'documentTarget' => $this->target,
113-
]
113+
],
114114
];
115-
if(!empty($this->custom_params)) {
115+
if (!empty($this->custom_params)) {
116116
$resource['custom'] = $this->custom_params;
117117
}
118118
if ($this->lineitem !== null) {

tests/LtiDeepLinkResourceTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,11 @@ public function testItCastsToArray()
166166
$result = $this->deepLinkResource->toArray();
167167

168168
$this->assertEquals($expected, $result);
169-
169+
170170
// Test again with custom params
171171
$expected['custom'] = ['a_key' => 'a_value'];
172172
$this->deepLinkResource->setCustomParams(['a_key' => 'a_value']);
173173
$result = $this->deepLinkResource->toArray();
174174
$this->assertEquals($expected, $result);
175-
176175
}
177176
}

0 commit comments

Comments
 (0)