Skip to content

Commit 74ddc08

Browse files
committed
Fix the facade and class name
1 parent c9309d2 commit 74ddc08

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Facades/JSONParser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
namespace Dnonov\JsonParser\Facades;
44

55
use Illuminate\Support\Facades\Facade;
6+
use Dnonov\JsonParser\JSONParser as JSONParserImplementation;
67

78
class JSONParser extends Facade {
89
protected static function getFacadeAccessor(): string {
9-
return 'jsonparser';
10+
return JSONParserImplementation::class;
1011
}
1112
}

src/JSONParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Dnonov\JsonParser;
44

5-
class JsonParser {
5+
class JSONParser {
66
public function works() {
77
return "works!";
88
}

0 commit comments

Comments
 (0)