@@ -88,13 +88,13 @@ |
||
| 88 | 88 | private function validateConfiguredInstance($configuredInstance, string $className) |
| 89 | 89 | { |
| 90 | 90 | if (! \is_object($configuredInstance)) { |
| 91 | - throw new InvalidConfigException( |
|
| 92 | - \sprintf( |
|
| 93 | - 'The return value of the configure callable must be an instance of %s got %s', |
|
| 94 | - $className, |
|
| 95 | - \gettype($configuredInstance) |
|
| 96 | - ) |
|
| 97 | - ); |
|
| 91 | + throw new InvalidConfigException( |
|
| 92 | + \sprintf( |
|
| 93 | + 'The return value of the configure callable must be an instance of %s got %s', |
|
| 94 | + $className, |
|
| 95 | + \gettype($configuredInstance) |
|
| 96 | + ) |
|
| 97 | + ); |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | $instanceClassName = (new \ReflectionClass($configuredInstance))->name; |