Completed
Pull Request — master (#4)
by Moesjarraf
09:20
created
src/DataEnricher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@
 block discarded – undo
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
             
Please login to merge, or discard this patch.