Completed
Pull Request — master (#5)
by Moesjarraf
09:54
created
src/DataEnricher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function __construct($source)
46 46
     {
47 47
         if (!is_object($source)) {
48
-            throw new \Exception("Data enricher on works on an object, not on a " . gettype($source));
48
+            throw new \Exception("Data enricher on works on an object, not on a ".gettype($source));
49 49
         }
50 50
         
51 51
         $this->source = $source;
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     protected function hasProcessorProperty($value)
125 125
     {
126
-        $processorProps = array_map(function ($processor) {
126
+        $processorProps = array_map(function($processor) {
127 127
             return $processor->getProperty();
128 128
         }, $this->processors);
129 129
         
Please login to merge, or discard this patch.