Skip to content

Commit 081d014

Browse files
committed
Fix scrutinizer issues
1 parent 6597d41 commit 081d014

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Schema/SchemaProvider.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,11 @@ public function getSelfUrl($resource)
163163
/**
164164
* Get the base self URL
165165
*
166-
* @param object $resource
167-
*
168166
* @return string
169167
*/
170-
protected function getBaseSelfUrl($resource)
168+
protected function getBaseSelfUrl()
171169
{
172-
// suppress scrutinizer issue
173-
$resource === null ?: null;
170+
// Note: $resource is available as input parameter
174171

175172
assert('is_string($this->baseSelfUrl) && empty($this->baseSelfUrl) === false', 'Base \'self\' not set.');
176173

0 commit comments

Comments
 (0)