@@ -29,5 +29,5 @@ |
||
29 | 29 | * @param TypeInterface $type |
30 | 30 | * @return bool |
31 | 31 | */ |
32 | - public function instanceOf(self $type): bool; |
|
32 | + public function instanceof(self $type): bool; |
|
33 | 33 | } |
@@ -55,11 +55,11 @@ |
||
55 | 55 | case 'array': |
56 | 56 | return \json_encode($value); |
57 | 57 | case 'object': |
58 | - return \get_class($value) . '#' . \spl_object_hash($value); |
|
58 | + return \get_class($value).'#'.\spl_object_hash($value); |
|
59 | 59 | case 'NULL': |
60 | 60 | return 'null'; |
61 | 61 | default: |
62 | - return (string)$value; |
|
62 | + return (string) $value; |
|
63 | 63 | } |
64 | 64 | } |
65 | 65 |