Completed
Push — master ( 3c7678...5a79e6 )
by Marcos Sigueros
01:53
created
src/AbstractAnimal.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
         $message = $this->getSpeechBubble($text);
16 16
         
17 17
         return str_replace(
18
-          '{{bubble}}',
19
-          $message,
20
-          $this->character
18
+            '{{bubble}}',
19
+            $message,
20
+            $this->character
21 21
         );
22 22
     }
23 23
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
     {
31 31
         $characterLength = $this->getMaxLineLength($this->character);
32 32
         $exploded_message = explode("\n", $message);
33
-        $padded_message = array_map( function ($line) use ($characterLength) {
33
+        $padded_message = array_map(function($line) use ($characterLength) {
34 34
             return str_pad($line, $characterLength, ' ');
35 35
         },$exploded_message);
36 36
 
37
-        return implode("\n",$padded_message);
37
+        return implode("\n", $padded_message);
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
src/Farm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public static function create($animal)
12 12
     {
13 13
         $result = null;
14
-        if(class_exists($animal)) {
14
+        if (class_exists($animal)) {
15 15
             $result = new $animal;
16 16
         }
17 17
         return $result;
Please login to merge, or discard this patch.