Skip to content

Commit

Permalink
Merge ecc6e60 into 55bba7b
Browse files Browse the repository at this point in the history
  • Loading branch information
ovac committed Sep 29, 2017
2 parents 55bba7b + ecc6e60 commit 9185eda
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions src/Facades/HubtelPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
namespace OVAC\LaravelHubtelPayment\Facades;

use Illuminate\Support\Facades\Facade;
use OVAC\LaravelHubtelPayment\LaravelHubtelPayment;

/**
* class HubtelPayment
* class HubtelPayment.
*
* This facade is the main entry for this application.
*
Expand Down
6 changes: 3 additions & 3 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
namespace OVAC\LaravelHubtelPayment;

/**
* class ServiceProvider
* class ServiceProvider.
*/
class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
const CONFIG_PATH = __DIR__ . '/../config/laravel-hubtel-payment.php';
const CONFIG_PATH = __DIR__.'/../config/laravel-hubtel-payment.php';

/**
* Inject the configurration for this package from the
Expand All @@ -34,7 +34,7 @@ public function boot()
}

/**
* Binds this package with the Laravel Application
* Binds this package with the Laravel Application.
*
* @return void
*/
Expand Down
12 changes: 5 additions & 7 deletions src/laravelHubtelPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

namespace OVAC\LaravelHubtelPayment;

use OVAC\HubtelPayment\Config;
use OVAC\HubtelPayment\Pay;
use OVAC\HubtelPayment\Config;

/**
* class LaravelHubtelPayment
* class LaravelHubtelPayment.
*
* This class extends the \OVAC\HubtelPayment\Pay::class class and pre-assisgs a
* few configuration that can be easily swapped and built upon for a seamless
Expand All @@ -26,11 +26,11 @@
*
* It is also the main entry class for this package.
*/
class LaravelHubtelPayment extends Pay
class laravelHubtelPayment extends Pay
{
/**
* This method returns an instance of the \OVAC\HubtelPayment\Config created with
* the hubtel client account expected in the Laravel Hubtel Payment congiguration
* the hubtel client account expected in the Laravel Hubtel Payment congiguration.
*
* @return \OVAC\HubtelPayment\Config
*/
Expand Down Expand Up @@ -67,8 +67,6 @@ public function __call($className, array $parameters)
])

// Inject the Merchant Configuration required by the \OVAC\HubtelPayment package
->injectConfig($this->getConfig())
;
->injectConfig($this->getConfig());
}

}

0 comments on commit 9185eda

Please sign in to comment.