Skip to content
Snippets Groups Projects
Unverified Commit 2f0e4861 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix method signature

parent db2da917
No related branches found
No related tags found
No related merge requests found
......@@ -108,9 +108,9 @@ class Error extends \SimpleSAML\Error\Exception
* status codes from an arbitrary exception.
*
* @param \Exception $exception The original exception.
* @return \Exception The new exception.
* @return \SimpleSAML\Error\Exception The new exception.
*/
public static function fromException(\Exception $exception): \Exception
public static function fromException(\Exception $exception): \SimpleSAML\Error\Exception
{
if ($exception instanceof \SimpleSAML\Module\saml\Error) {
// Return the original exception unchanged
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment