Skip to content

Commit fb9c5f7

Browse files
committed
Make credentials required when handling exceptions
1 parent 6f78bd7 commit fb9c5f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Authorizer/ExceptionAware/ExceptionAwareInterface.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
interface ExceptionAwareInterface
1818
{
1919
/**
20+
* @param array $credentials
2021
* @param Throwable|Exception $error_or_exception
2122
* @return void|mixed
2223
*/
23-
public function handleException($error_or_exception);
24+
public function handleException(array $credentials, $error_or_exception);
2425
}

0 commit comments

Comments
 (0)