Skip to content

Commit 7af4427

Browse files
authored
Merge pull request #153 from kpn13/static_instead_of_self_for_httpexception
Use static instead of self for instancing HttpException
2 parents d7f1b18 + 1aafc40 commit 7af4427

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)