Passed
Push — master ( 5effd2...12657e )
by Emmanuel
02:22
created
src/PayantServiceProvider.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     protected $defer = false;
25 25
 
26 26
     /**
27
-    * Publishes all the config file this package needs to function
28
-    */
27
+     * Publishes all the config file this package needs to function
28
+     */
29 29
     public function boot()
30 30
     {
31 31
         $config = realpath(__DIR__.'/../resources/config/payant.php');
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-    * Register the application services.
40
-    */
39
+     * Register the application services.
40
+     */
41 41
     public function register()
42 42
     {
43 43
         $this->app->bind('laravel-payant', function () {
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-    * Get the services provided by the provider
52
-    * @return array
53
-    */
51
+     * Get the services provided by the provider
52
+     * @return array
53
+     */
54 54
     public function provides()
55 55
     {
56 56
         return ['laravel-payant'];
Please login to merge, or discard this patch.
src/Support/helpers.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
 if (! function_exists('array_get'))
27 27
 {
28
-  /*
28
+    /*
29 29
    *
30 30
    * @param array  $data
31 31
    * @param string $key
@@ -33,12 +33,12 @@  discard block
 block discarded – undo
33 33
    *
34 34
    * @return mixed
35 35
    */
36
-   function array_get($data, $key, $default = false) {
37
-     if (!is_array($data)) {
38
-         return $default;
39
-     }
40
-     return isset($data[$key]) ? $data[$key]: $default;
41
-   }
36
+    function array_get($data, $key, $default = false) {
37
+        if (!is_array($data)) {
38
+            return $default;
39
+        }
40
+        return isset($data[$key]) ? $data[$key]: $default;
41
+    }
42 42
 }
43 43
 
44 44
 if(!function_exists('array_keys_exist')){
@@ -67,6 +67,6 @@  discard block
 block discarded – undo
67 67
 }
68 68
 
69 69
 function cleanResponse($response){
70
-  $result = $response->getBody();
71
-  return $result;
70
+    $result = $response->getBody();
71
+    return $result;
72 72
 }
73 73
\ No newline at end of file
Please login to merge, or discard this patch.