Passed
Branch init (bfa39e)
by Pulkit
02:44
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function registerCustomProviders(array $providers) : void
44 44
     {
45
-        foreach($providers as $provider) {
45
+        foreach ($providers as $provider) {
46 46
             if (!class_exists($provider)) {
47 47
                 throw new ProviderDoesNotExistException(
48 48
                     "Provider {$provider} does not exists"
49 49
                 );
50 50
             } else if (
51
-                ! (array_intersect(
51
+                !(array_intersect(
52 52
                         $this->providerInterfaces,
53 53
                         class_implements($provider)
54 54
                     ) == $this->providerInterfaces
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     ) : ServiceFactory
76 76
     {
77 77
         $class = get_class($provider);
78
-        if (! in_array($class, $this->getRegisteredProviders() )) {
78
+        if (!in_array($class, $this->getRegisteredProviders())) {
79 79
             throw new UnregisteredProviderException(
80 80
                 "Provider {$class} is not registered"
81 81
             );
Please login to merge, or discard this patch.
src/Http/Http.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             return $this->getHttpClient()->sendRequest($request);
35 35
         } catch (TransferException $e) {
36 36
             throw new HttpTransferException(
37
-                "Error while requesting data". $e->getMessage(),
37
+                "Error while requesting data".$e->getMessage(),
38 38
                 $e->getCode(),
39 39
                 $e
40 40
             );
Please login to merge, or discard this patch.