Completed
Push — master ( dc704c...7795f0 )
by Albert
01:44
created
src/Api/DomainRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     public function update($domain, $recordId, $name = null, $data = null, $priority = null, $ttl = null)
95 95
     {
96 96
         $content = \compact('name', 'data', 'priority', 'ttl', 'domain');
97
-        $content = \array_filter($content, function ($val) {
97
+        $content = \array_filter($content, function($val) {
98 98
             return $val !== null;
99 99
         });
100 100
         $content['RECORDID'] = $recordId;
Please login to merge, or discard this patch.
src/Api/AbstractApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     {
56 56
         $object = \json_decode($response, true);
57 57
         if ($isArray) {
58
-            return \array_map(function ($entity) use ($class) {
58
+            return \array_map(function($entity) use ($class) {
59 59
                 return new $class($entity);
60 60
             }, $object);
61 61
         }
Please login to merge, or discard this patch.
src/Api/Region.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         $this->extractMeta($regions);
29 29
 
30
-        return \array_map(function ($region) {
30
+        return \array_map(function($region) {
31 31
             return new RegionEntity($region);
32 32
         }, $regions->regions);
33 33
     }
Please login to merge, or discard this patch.
src/Support/Str.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public static function convertToCamelCase($str)
40 40
     {
41
-        $string =  static::studly($str);
41
+        $string = static::studly($str);
42 42
 
43 43
         return \lcfirst($string);
44 44
     }
Please login to merge, or discard this patch.