Completed
Push — master ( c4ad0d...36d425 )
by Nikolay
03:34
created
src/CloudPayments/Message/Strategy/AbstractStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,28 +26,28 @@
 block discarded – undo
26 26
     public function prepareRawResponse(array $raw_response): ResponseInterface
27 27
     {
28 28
         foreach ($this->specifications as $specification_class => $response_class) {
29
-            if (! class_exists($specification_class)) {
29
+            if ( ! class_exists($specification_class)) {
30 30
                 throw new ClassNotFoundException(sprintf(
31 31
                     'The class %s is not found',
32 32
                     $specification_class
33 33
                 ));
34 34
             }
35 35
             $specification = new $specification_class;
36
-            if (! ($specification instanceof SpecificationInterface)) {
36
+            if ( ! ($specification instanceof SpecificationInterface)) {
37 37
                 throw new IsNotInstanceOfException(sprintf(
38 38
                     'The class %s is not an instance of %s',
39 39
                     $specification_class, SpecificationInterface::class
40 40
                 ));
41 41
             }
42 42
             if ($specification->isSatisfiedBy($raw_response)) {
43
-                if (! class_exists($response_class)) {
43
+                if ( ! class_exists($response_class)) {
44 44
                     throw new ClassNotFoundException(sprintf(
45 45
                         'The class %s is not found',
46 46
                         $response_class
47 47
                     ));
48 48
                 }
49 49
                 $response = new $response_class;
50
-                if (! ($response instanceof ResponseInterface)) {
50
+                if ( ! ($response instanceof ResponseInterface)) {
51 51
                     throw new IsNotInstanceOfException(sprintf(
52 52
                         'The class %s is not an instance of %s',
53 53
                         $response_class, ResponseInterface::class
Please login to merge, or discard this patch.