@@ -48,6 +48,7 @@ discard block |
||
48 | 48 | * By default Laravel takes (server/database/factories) as the |
49 | 49 | * path to the factories, this function changes the path to load |
50 | 50 | * the factories from the infrastructure directory. |
51 | + * @param string $customPath |
|
51 | 52 | */ |
52 | 53 | public function changeTheDefaultDatabaseModelsFactoriesPath($customPath) |
53 | 54 | { |
@@ -138,7 +139,7 @@ discard block |
||
138 | 139 | } |
139 | 140 | |
140 | 141 | /** |
141 | - * @param $directory |
|
142 | + * @param string $directory |
|
142 | 143 | */ |
143 | 144 | private function loadConfigs($directory) |
144 | 145 | { |
@@ -1,40 +1,40 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return array( |
4 | - # Account credentials from developer portal |
|
5 | - 'Account' => array( |
|
6 | - 'ClientId' => env('PAYPAL_ID'), |
|
7 | - 'ClientSecret' => env('PAYPAL_SECRET'), |
|
8 | - ), |
|
4 | + # Account credentials from developer portal |
|
5 | + 'Account' => array( |
|
6 | + 'ClientId' => env('PAYPAL_ID'), |
|
7 | + 'ClientSecret' => env('PAYPAL_SECRET'), |
|
8 | + ), |
|
9 | 9 | |
10 | - # Connection Information |
|
11 | - 'Http' => array( |
|
10 | + # Connection Information |
|
11 | + 'Http' => array( |
|
12 | 12 | 'ConnectionTimeOut' => 30, |
13 | - 'Retry' => 1, |
|
14 | - //'Proxy' => 'http://[username:password]@hostname[:port][/path]', |
|
15 | - ), |
|
13 | + 'Retry' => 1, |
|
14 | + //'Proxy' => 'http://[username:password]@hostname[:port][/path]', |
|
15 | + ), |
|
16 | 16 | |
17 | - # Service Configuration |
|
18 | - 'Service' => array( |
|
19 | - # For integrating with the live endpoint, |
|
20 | - # change the URL to https://api.paypal.com! |
|
21 | - 'EndPoint' => 'https://api.sandbox.paypal.com', |
|
22 | - ), |
|
17 | + # Service Configuration |
|
18 | + 'Service' => array( |
|
19 | + # For integrating with the live endpoint, |
|
20 | + # change the URL to https://api.paypal.com! |
|
21 | + 'EndPoint' => 'https://api.sandbox.paypal.com', |
|
22 | + ), |
|
23 | 23 | |
24 | 24 | |
25 | - # Logging Information |
|
26 | - 'Log' => array( |
|
27 | - //'LogEnabled' => true, |
|
25 | + # Logging Information |
|
26 | + 'Log' => array( |
|
27 | + //'LogEnabled' => true, |
|
28 | 28 | |
29 | - # When using a relative path, the log file is created |
|
30 | - # relative to the .php file that is the entry point |
|
31 | - # for this request. You can also provide an absolute |
|
32 | - # path here |
|
33 | - //'FileName' => '../PayPal.log', |
|
29 | + # When using a relative path, the log file is created |
|
30 | + # relative to the .php file that is the entry point |
|
31 | + # for this request. You can also provide an absolute |
|
32 | + # path here |
|
33 | + //'FileName' => '../PayPal.log', |
|
34 | 34 | |
35 | - # Logging level can be one of FINE, INFO, WARN or ERROR |
|
36 | - # Logging is most verbose in the 'FINE' level and |
|
37 | - # decreases as you proceed towards ERROR |
|
38 | - //'LogLevel' => 'FINE', |
|
39 | - ), |
|
35 | + # Logging level can be one of FINE, INFO, WARN or ERROR |
|
36 | + # Logging is most verbose in the 'FINE' level and |
|
37 | + # decreases as you proceed towards ERROR |
|
38 | + //'LogLevel' => 'FINE', |
|
39 | + ), |
|
40 | 40 | ); |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | | |
65 | 65 | */ |
66 | 66 | |
67 | - 'user' => env('USER_NAMESPACE').'User', |
|
67 | + 'user' => env('USER_NAMESPACE') . 'User', |
|
68 | 68 | |
69 | 69 | /* |
70 | 70 | |-------------------------------------------------------------------------- |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | | |
147 | 147 | */ |
148 | 148 | |
149 | - 'auth' => function ($app) { |
|
149 | + 'auth' => function($app) { |
|
150 | 150 | return new Tymon\JWTAuth\Providers\Auth\IlluminateAuthAdapter($app['auth']); |
151 | 151 | }, |
152 | 152 | |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | | |
160 | 160 | */ |
161 | 161 | |
162 | - 'storage' => function ($app) { |
|
162 | + 'storage' => function($app) { |
|
163 | 163 | return new Tymon\JWTAuth\Providers\Storage\IlluminateCacheAdapter($app['cache']); |
164 | 164 | }, |
165 | 165 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | return array( |
4 | 4 | |
5 | 5 | |
6 | - /* |
|
6 | + /* |
|
7 | 7 | |-------------------------------------------------------------------------- |
8 | 8 | | Database settings |
9 | 9 | |-------------------------------------------------------------------------- |
@@ -11,6 +11,6 @@ discard block |
||
11 | 11 | | The name of the table to create in the database |
12 | 12 | | |
13 | 13 | */ |
14 | - 'table_name' => 'countries', |
|
14 | + 'table_name' => 'countries', |
|
15 | 15 | |
16 | 16 | ); |
@@ -220,7 +220,7 @@ |
||
220 | 220 | */ |
221 | 221 | 'generator' => [ |
222 | 222 | 'basePath' => env('SRC_PATH'), |
223 | - 'rootNamespace' => env('ROOT_NAMESPACE').'\\', |
|
223 | + 'rootNamespace' => env('ROOT_NAMESPACE') . '\\', |
|
224 | 224 | 'paths' => [ |
225 | 225 | 'models' => 'Entities', |
226 | 226 | 'repositories' => 'Repositories', |