Skip to content

Commit b4dbfd4

Browse files
committed
Remove unnecessary code
1 parent 0eb07c9 commit b4dbfd4

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/Brief.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -289,17 +289,7 @@ public function getAliasedKey(string $alias)
289289
return false;
290290
}
291291

292-
$authoritative = $this->collapseAliasChain($alias);
293-
294-
// Check resolved value for allowable keys
295-
if (false === $this::isKeyAllowed($authoritative)) {
296-
$this->log('ProtectedKey', 'This key is protected and cannot be used.',
297-
['key' => $authoritative, 'protected_keys' => self::$protected]);
298-
299-
return false;
300-
}
301-
302-
return $authoritative;
292+
return $this->collapseAliasChain($alias);
303293
}
304294

305295
/**

0 commit comments

Comments
 (0)