Skip to content

Commit 54c6678

Browse files
authored
Merge pull request #14 from rub3n88/dev-refactor-woocommerceapi-case
Change case of Class Name WoocommerceApi => WooCommerceApi.
2 parents df67a82 + 8a3919e commit 54c6678

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Facades/WoocommerceFacade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ class WoocommerceFacade extends Facade
1313
*/
1414
protected static function getFacadeAccessor()
1515
{
16-
return 'Codexshaper\Woocommerce\WoocommerceApi';
16+
return 'Codexshaper\Woocommerce\WooCommerceApi';
1717
}
1818
}

src/WoocommerceApi.php renamed to src/WooCommerceApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Automattic\WooCommerce\Client;
66
use Codexshaper\WooCommerce\Traits\WoocommerceTrait;
77

8-
class WoocommerceApi
8+
class WooCommerceApi
99
{
1010
use WooCommerceTrait;
1111

src/WooCommerceServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public function register()
3333
$this->app->singleton('WooCommerceApi', function () {
3434
return new WooCommerceApi();
3535
});
36-
$this->app->alias('Codexshaper\Woocommerce\WooCommerceApi', 'WoocommerceApi');
36+
$this->app->alias('Codexshaper\Woocommerce\WooCommerceApi', 'WooCommerceApi');
3737
}
3838
}

0 commit comments

Comments
 (0)