mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 16:23:12 +08:00
Removed everything that was deprecated
This commit is contained in:
@@ -24,10 +24,7 @@ class MissingAuthenticationException extends RuntimeException implements Problem
|
||||
'Expected one of the following authentication headers, ["%s"], but none were provided',
|
||||
implode('", "', $expectedHeaders),
|
||||
));
|
||||
$e->additional = [
|
||||
'expectedTypes' => $expectedHeaders, // Deprecated
|
||||
'expectedHeaders' => $expectedHeaders,
|
||||
];
|
||||
$e->additional = ['expectedHeaders' => $expectedHeaders];
|
||||
|
||||
return $e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user