File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Myckhel \Paystack \ Traits ;
3
+ namespace Myckhel \Paystack ;
4
4
5
5
use Illuminate \Support \Facades \Config ;
6
6
7
7
/**
8
8
*
9
9
*/
10
- trait PaystackConfig
10
+ class PaystackConfig
11
11
{
12
12
static function config (String $ config = null )
13
13
{
Original file line number Diff line number Diff line change 3
3
namespace Myckhel \Paystack \Traits ;
4
4
5
5
use Illuminate \Support \Facades \Http ;
6
+ use Myckhel \Paystack \PaystackConfig ;
6
7
7
8
class Props
8
9
{
@@ -20,7 +21,7 @@ trait Request
20
21
{
21
22
public static function config ()
22
23
{
23
- return new Props (PayStackConfig ::config ());
24
+ return new Props (PaystackConfig ::config ());
24
25
}
25
26
26
27
public static function post ($ endpoint , $ params = [], $ version = null )
Original file line number Diff line number Diff line change 9
9
use Myckhel \Paystack \Http \Controllers \DedicatedVirtualAccountController ;
10
10
use Myckhel \Paystack \Http \Controllers \DisputeController ;
11
11
use Myckhel \Paystack \Http \Controllers \TransactionController ;
12
- use Myckhel \Paystack \Traits \ PaystackConfig ;
12
+ use Myckhel \Paystack \PaystackConfig ;
13
13
use Myckhel \Paystack \Http \Controllers \HookController ;
14
14
use Myckhel \Paystack \Http \Controllers \InvoiceController ;
15
15
use Myckhel \Paystack \Http \Controllers \MiscellaneousController ;
You can’t perform that action at this time.
0 commit comments