@@ -42,14 +42,14 @@ |
||
| 42 | 42 | public function __construct($source) |
| 43 | 43 | { |
| 44 | 44 | if (!is_object($source)) { |
| 45 | - throw new \Exception("Data enricher on works on an object, not on a " . gettype($source)); |
|
| 45 | + throw new \Exception("Data enricher on works on an object, not on a ".gettype($source)); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | $this->source = $source; |
| 49 | 49 | |
| 50 | 50 | foreach (static::$defaultProcessors as $property => $processor) { |
| 51 | 51 | if (is_string($processor)) { |
| 52 | - $class = $processor[0] === '\\' ? substr($processor, 1) : __CLASS__ . '\\' . $processor; |
|
| 52 | + $class = $processor[0] === '\\' ? substr($processor, 1) : __CLASS__.'\\'.$processor; |
|
| 53 | 53 | $processor = new $class($this, $property); |
| 54 | 54 | } |
| 55 | 55 | |