Skip to content

Commit b9d5dd0

Browse files
authored
Merge pull request #11 from Snaver/exception-fix
RuntimeException class not found when used in try/catch block
2 parents d31d7b6 + 380e440 commit b9d5dd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WpClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Psr\Http\Message\RequestInterface;
66
use Psr\Http\Message\ResponseInterface;
7+
use RuntimeException;
78
use Vnn\WpApiClient\Auth\AuthInterface;
89
use Vnn\WpApiClient\Endpoint;
910
use Vnn\WpApiClient\Http\ClientInterface;

0 commit comments

Comments
 (0)