@@ -175,7 +175,7 @@ |
||
| 175 | 175 | $method = (is_null($method) ? 'get' : $method); |
| 176 | 176 | |
| 177 | 177 | //Removes null entries |
| 178 | - $data = array_filter($data, function ($val) { |
|
| 178 | + $data = array_filter($data, function($val){ |
|
| 179 | 179 | return !is_null($val); |
| 180 | 180 | }); |
| 181 | 181 | |
@@ -20,14 +20,7 @@ |
||
| 20 | 20 | * Create DNS record (permission needed: #dns_records:edit) |
| 21 | 21 | * Create a new DNS record for a zone. See the record object definitions for required attributes for each record type |
| 22 | 22 | * |
| 23 | - * @param string $zone_identifier |
|
| 24 | - * @param string $type DNS record type (A, AAAA, CNAME, TXT, SRV, LOC, MX, NS, SPF) |
|
| 25 | 23 | * @param string $name DNS record name |
| 26 | - * @param string $content DNS record content |
|
| 27 | - * @param int|null $ttl Time to live for DNS record. Value of 1 is 'automatic' |
|
| 28 | - * @param bool|null $proxied Whether to proxy the domain through CloudFlare or not |
|
| 29 | - * @param int|null $priority MX record priority value |
|
| 30 | - * @param array|null $data Additional data required for SRV record |
|
| 31 | 24 | */ |
| 32 | 25 | |
| 33 | 26 | public function add($name) |