We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dba977 commit 035bfabCopy full SHA for 035bfab
src/JsonSchema/Entity/JsonPointer.php
@@ -9,6 +9,8 @@
9
10
namespace JsonSchema\Entity;
11
12
+use JsonSchema\Exception\InvalidArgumentException;
13
+
14
/**
15
* @package JsonSchema\Entity
16
*
@@ -25,12 +27,12 @@ class JsonPointer
25
27
26
28
* @param string $value
29
- * @throws \InvalidArgumentException when $value is not a string
30
+ * @throws InvalidArgumentException when $value is not a string
31
*/
32
public function __construct($value)
33
{
34
if (!is_string($value)) {
- throw new \InvalidArgumentException('Ref value must be a string');
35
+ throw new InvalidArgumentException('Ref value must be a string');
36
}
37
38
$splitRef = explode('#', $value, 2);
0 commit comments