Skip to content

Commit 2d48f03

Browse files
authored
Merge pull request #66 from garemoko/patch-1
Fixes `Class 'TinCan\ErrorException' not found`
2 parents d329340 + 4017ae4 commit 2d48f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RemoteLRS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ protected function sendRequest($method, $resource) {
127127
//
128128
set_error_handler(
129129
function ($errno, $errstr, $errfile, $errline, array $errcontext) {
130-
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
130+
throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
131131
}
132132
);
133133

0 commit comments

Comments
 (0)