Skip to content

Commit 1aafc40

Browse files
author
Karim PINCHON
committed
Use static instead of self for instancing HttpException
1 parent d7f1b18 commit 1aafc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/HttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ public static function create(
6363
$response->getReasonPhrase()
6464
);
6565

66-
return new self($message, $request, $response, $previous);
66+
return new static($message, $request, $response, $previous);
6767
}
6868
}

0 commit comments

Comments
 (0)