Skip to content

Commit c77f0b2

Browse files
authored
Fix facade accessor
Changing to the singleton method in the service provider breaks the facade accessor.
1 parent 06f08af commit c77f0b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Facades/Google.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace PulkitJalan\Google\Facades;
44

55
use Illuminate\Support\Facades\Facade;
6+
use PulkitJalan\Google\Client;
67

78
class Google extends Facade
89
{
@@ -13,6 +14,6 @@ class Google extends Facade
1314
*/
1415
protected static function getFacadeAccessor()
1516
{
16-
return 'google.api.client';
17+
return Client::class;
1718
}
1819
}

0 commit comments

Comments
 (0)