@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $givenParameters = \array_keys($config); |
| 72 | 72 | |
| 73 | 73 | foreach ($requiredParameters as $requiredParameter) { |
| 74 | - if (! \in_array($requiredParameter, $givenParameters, true)) { |
|
| 74 | + if ( ! \in_array($requiredParameter, $givenParameters, true)) { |
|
| 75 | 75 | throw new InvalidConfigException( |
| 76 | 76 | "The parameter '{$requiredParameter}' is required for {$className}" |
| 77 | 77 | ); |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | private function validateConfiguredInstance($configuredInstance, string $className) |
| 89 | 89 | { |
| 90 | - if (! \is_object($configuredInstance)) { |
|
| 90 | + if ( ! \is_object($configuredInstance)) { |
|
| 91 | 91 | throw new InvalidConfigException( |
| 92 | 92 | \sprintf( |
| 93 | 93 | 'The return value of the configure callable must be an instance of %s got %s', |