Completed
Push — master ( c6b9dc...9b6af1 )
by Paweł
02:25
created
src/FieldNameMappers/StripGet.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 class StripGet implements FieldNameMapperInterface
8 8
 {
9
-	public function map(string $getterName) : string
10
-	{
11
-		return lcfirst(substr($getterName, 3));
12
-	}
9
+    public function map(string $getterName) : string
10
+    {
11
+        return lcfirst(substr($getterName, 3));
12
+    }
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/FieldNameMappers/ToUnderscores.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 class ToUnderscores implements FieldNameMapperInterface
8 8
 {
9
-	public function map(string $getterName) : string
10
-	{
11
-		return preg_replace_callback('/[A-Z]/', function($x) { return '_'.strtolower($x[0]); }, lcfirst(substr($getterName, 3)));
12
-	}
9
+    public function map(string $getterName) : string
10
+    {
11
+        return preg_replace_callback('/[A-Z]/', function($x) { return '_'.strtolower($x[0]); }, lcfirst(substr($getterName, 3)));
12
+    }
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/FieldNameMapperInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
  */
8 8
 interface FieldNameMapperInterface
9 9
 {
10
-	public function map(string $getterName) : string;
10
+    public function map(string $getterName) : string;
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.