Skip to content

Commit 7ef39e9

Browse files
committed
Merge pull request #6 from Klaasie/patch-1
Minor fixes, @Klaasie thanks!
2 parents 69806a0 + 15105f2 commit 7ef39e9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/RemoteLRS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function sendRequest($method, $resource) {
120120
$context = stream_context_create(array( 'http' => $http ));
121121
$fp = fopen($url, 'rb', false, $context);
122122
if (! $fp) {
123-
throw new \Exception("Request fialed: $php_errormsg");
123+
throw new \Exception("Request failed: $php_errormsg");
124124
}
125125

126126
//

src/Statement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function stamp() {
8989

9090
public function setId($value) {
9191
if (isset($value) && ! preg_match(Util::UUID_REGEX, $value)) {
92-
throw new InvalidArgumentException('arg1 must be a UUID');
92+
throw new \InvalidArgumentException('arg1 must be a UUID');
9393
}
9494
$this->id = $value;
9595
return $this;

0 commit comments

Comments
 (0)