Completed
Pull Request — master (#71)
by Olatunbosun
11:33
created
src/Paystack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     public function makePaymentRequest($data = null)
71 71
     {
72
-        if ( $data == null ) {
72
+        if ($data == null) {
73 73
             $data = [
74 74
                 "amount" => intval(request()->amount),
75 75
                 "reference" => request()->reference,
Please login to merge, or discard this patch.
src/PaystackFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $builder = new ClientBuilder();
93 93
 
94 94
         if ($this->cache && class_exists(CacheItemPool::class) && $cache = array_get($config, 'cache')) {
95
-            $builder->addCache(new CacheItemPool($this->cache->store( $cache === true ? null : $cache)));
95
+            $builder->addCache(new CacheItemPool($this->cache->store($cache === true ? null : $cache)));
96 96
         }
97 97
 
98 98
         return $builder;
Please login to merge, or discard this patch.
src/PaystackServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     */
61 61
     public function register()
62 62
     {
63
-        $this->app->bind('laravel-paystack', function () {
63
+        $this->app->bind('laravel-paystack', function() {
64 64
             return new Paystack;
65 65
         });
66 66
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected function registerPaystackFactory()
78 78
     {
79
-        $this->app->singleton('paystack.factory', function (Container $container) {
79
+        $this->app->singleton('paystack.factory', function(Container $container) {
80 80
             $cache = $container['cache'];
81 81
 
82 82
             return new PaystackFactory($cache);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function registerPaystackManager()
96 96
     {
97
-        $this->app->singleton('paystack', function (Container $container) {
97
+        $this->app->singleton('paystack', function(Container $container) {
98 98
             $config = $container['config'];
99 99
             $factory = $container['paystack.factory'];
100 100
 
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     protected function registerCoreBindings()
115 115
     {
116
-        $this->app->bind('paystack.connection', function (Container $container) {
116
+        $this->app->bind('paystack.connection', function(Container $container) {
117 117
            $manager = $container['paystack'];
118 118
 
119 119
            return $manager->connection();
Please login to merge, or discard this patch.