Skip to content

Commit

Permalink
laravel support and Facade Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
infinitypaul committed Mar 15, 2020
1 parent 2f50674 commit 08c21d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"infinitypaul/naira-exchange-rates": "^0.0.2"
},
"require-dev": {
"orchestra/testbench": "~3.5|^4.0"
"orchestra/testbench": "~3.5|~4.4|^5.0"
},
"autoload": {
"psr-4": {
Expand All @@ -53,7 +53,7 @@
"Infinitypaul\\LaravelNairaExchangeRates\\LaravelNairaExchangeRatesServiceProvider"
],
"aliases": {
"NairaExchangeRates": "Infinitypaul\\LaravelNairaExchangeRates\\Facade\\NairaExchangeRatesFacade"
"NairaExchangeRate": "Infinitypaul\\LaravelNairaExchangeRates\\Facade\\NairaExchangeRatesFacade"
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/LaravelNairaExchangeRatesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LaravelNairaExchangeRatesServiceProvider extends ServiceProvider
*
* @var bool
*/
//protected $defer = true;
protected $defer = true;

/**
* Bootstrap the application services.
Expand Down Expand Up @@ -43,8 +43,8 @@ public function register()
* Get the services provided by the provider.
* @return array
*/
// public function provides()
// {
// return ['laravel-naira-exchange-rates'];
// }
public function provides()
{
return ['laravel-naira-exchange-rates'];
}
}

0 comments on commit 08c21d3

Please sign in to comment.