Passed
Push — master ( d464dd...1295fd )
by Marcin
10:52 queued 01:36
created
src/Converters/ToArrayConverter.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -22,19 +22,19 @@
 block discarded – undo
22 22
  */
23 23
 final class ToArrayConverter implements ConverterContract
24 24
 {
25
-    /**
26
-     * Returns array representation of the object.
27
-     *
28
-     * @param object $obj    Object to be converted
29
-     * @param array  $config Converter config array to be used for this object (based on exact class
30
-     *                       name match or inheritance).
31
-     *
32
-     * @return array
33
-     */
34
-    public function convert(object $obj, /** @scrutinizer ignore-unused */ array $config): array
35
-    {
36
-        Validator::assertIsObject('obj', $obj);
25
+	/**
26
+	 * Returns array representation of the object.
27
+	 *
28
+	 * @param object $obj    Object to be converted
29
+	 * @param array  $config Converter config array to be used for this object (based on exact class
30
+	 *                       name match or inheritance).
31
+	 *
32
+	 * @return array
33
+	 */
34
+	public function convert(object $obj, /** @scrutinizer ignore-unused */ array $config): array
35
+	{
36
+		Validator::assertIsObject('obj', $obj);
37 37
 
38
-        return $obj->toArray(null);
39
-    }
38
+		return $obj->toArray(null);
39
+	}
40 40
 }
Please login to merge, or discard this patch.