@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | $type = strtolower($this->getType()); |
| 53 | 53 | |
| 54 | - if ( ! array_key_exists($type, $dict)) { |
|
| 54 | + if (!array_key_exists($type, $dict)) { |
|
| 55 | 55 | throw new \InvalidArgumentException('Request type [' . $type . ']not exist!'); |
| 56 | 56 | } |
| 57 | 57 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $className = Factory::PACKAGENAME |
| 64 | 64 | . 'Payment\Request\Decorator\\' . $this->getDecoratorName(); |
| 65 | 65 | |
| 66 | - if ( ! class_exists($className)) { |
|
| 66 | + if (!class_exists($className)) { |
|
| 67 | 67 | throw new \InvalidArgumentException('Request type [' . $className . '] not supported!'); |
| 68 | 68 | } |
| 69 | 69 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | protected function getRequest() |
| 37 | 37 | { |
| 38 | - if ( ! $this->request instanceof Request) { |
|
| 38 | + if (!$this->request instanceof Request) { |
|
| 39 | 39 | throw new \InvalidArgumentException('Request ausente!'); |
| 40 | 40 | } |
| 41 | 41 | |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | { |
| 127 | 127 | $className = $this->getFullyQualifiedDecoratorName($request->getDecoratorName()); |
| 128 | 128 | |
| 129 | - if ( ! class_exists($className)) { |
|
| 129 | + if (!class_exists($className)) { |
|
| 130 | 130 | throw new \InvalidArgumentException('Response type [' . $type . '] not supported!'); |
| 131 | 131 | } |
| 132 | 132 | |