Skip to content

Commit 386e40f

Browse files
author
Corey McCormick
committed
Resolve facade issues
1 parent 5647f47 commit 386e40f

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"extra": {
3535
"laravel": {
3636
"providers": [
37-
"SimpleSoftwareIO\\QrCode\\ServiceProvider"
37+
"SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider"
3838
],
3939
"aliases": {
40-
"QrCode": "SimpleSoftwareIO\\QrCode\\Facade"
40+
"QrCode": "SimpleSoftwareIO\\QrCode\\Facades\\QrCode"
4141
}
4242
}
4343
}

src/Facade.php renamed to src/Facades/QrCode.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace SimpleSoftwareIO\QrCode;
44

5-
use Illuminate\Support\Facades\Facade as IlluminateFacade;
5+
use SimpleSoftwareIO\QrCode\Generator;
6+
use Illuminate\Support\Facades\Facade;
67

7-
class Facade extends IlluminateFacade
8+
class QrCode extends Facade
89
{
910
/**
1011
* Get the registered name of the component.

src/ServiceProvider.php renamed to src/QrCodeServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace SimpleSoftwareIO\QrCode;
44

5-
use Illuminate\Support\ServiceProvider as IlluminateServiceProvider;
5+
use Illuminate\Support\ServiceProvider;
66

7-
class ServiceProvider extends IlluminateServiceProvider
7+
class QrCodeServiceProvider extends ServiceProvider
88
{
99
/**
1010
* Register the service provider.

0 commit comments

Comments
 (0)