Test Failed
Push — master ( 84c4ce...12a7ff )
by Mariano
06:11
created
src/ConverterBuilder.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
         return $this;
145 145
     }
146 146
 
147
+    /**
148
+     * @param string $class
149
+     */
147 150
     private function getObjectFromClass($class)
148 151
     {
149 152
         if (is_object($class)) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,12 +129,12 @@
 block discarded – undo
129 129
      */
130 130
     public function withImplementation($class)
131 131
     {
132
-        $this->converter = function () use ($class) {
132
+        $this->converter = function() use ($class) {
133 133
             $object = $this->getObjectFromClass($class);
134 134
 
135 135
             if (!is_subclass_of($object, Converter::class)) {
136 136
                 throw new ObjectIsNotConverterException(
137
-                    'Object of type ' . get_class($object) . ' does not implement ' . Converter::class
137
+                    'Object of type '.get_class($object).' does not implement '.Converter::class
138 138
                 );
139 139
             }
140 140
 
Please login to merge, or discard this patch.