@@ -94,7 +94,7 @@ |
||
| 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; |
@@ -55,7 +55,7 @@ |
||
| 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 | } |
@@ -27,7 +27,7 @@ |
||
| 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 | } |
@@ -38,7 +38,7 @@ |
||
| 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 | } |