@@ -49,7 +49,7 @@ |
||
| 49 | 49 | public function build(ZoneInterface $zone) |
| 50 | 50 | { |
| 51 | 51 | $master = '$ORIGIN '.$zone->getName().PHP_EOL. |
| 52 | - '$TTL '.$zone->getDefaultTtl().PHP_EOL; |
|
| 52 | + '$TTL '.$zone->getDefaultTtl().PHP_EOL; |
|
| 53 | 53 | |
| 54 | 54 | $rrs = $zone->getResourceRecords(); |
| 55 | 55 | $current = SoaRdata::TYPE; |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | $pad = $this->longestVarLength(); |
| 51 | 51 | $output = str_repeat(' ', $this->padding). |
| 52 | - str_pad($text, $pad); |
|
| 52 | + str_pad($text, $pad); |
|
| 53 | 53 | |
| 54 | 54 | if (null !== $comment) { |
| 55 | 55 | $output .= ' '.ResourceRecord::COMMENT_DELIMINATOR.$comment; |
@@ -238,12 +238,12 @@ |
||
| 238 | 238 | $l = 0; |
| 239 | 239 | |
| 240 | 240 | foreach (array( |
| 241 | - $this->getLatitude(self::FORMAT_DMS), |
|
| 242 | - $this->getLongitude(self::FORMAT_DMS), |
|
| 243 | - sprintf('%.2fm', $this->altitude), |
|
| 244 | - sprintf('%.2fm', $this->size), |
|
| 245 | - sprintf('%.2fm', $this->horizontalPrecision), |
|
| 246 | - sprintf('%.2fm', $this->verticalPrecision), |
|
| 241 | + $this->getLatitude(self::FORMAT_DMS), |
|
| 242 | + $this->getLongitude(self::FORMAT_DMS), |
|
| 243 | + sprintf('%.2fm', $this->altitude), |
|
| 244 | + sprintf('%.2fm', $this->size), |
|
| 245 | + sprintf('%.2fm', $this->horizontalPrecision), |
|
| 246 | + sprintf('%.2fm', $this->verticalPrecision), |
|
| 247 | 247 | ) as $var) { |
| 248 | 248 | $l = ($l < strlen($var)) ? strlen($var) : $l; |
| 249 | 249 | } |
@@ -38,9 +38,9 @@ |
||
| 38 | 38 | { |
| 39 | 39 | if (!is_subclass_of($fqcn, '\\Badcow\\DNS\\Rdata\\RdataInterface')) { |
| 40 | 40 | throw new \InvalidArgumentException(sprintf( |
| 41 | - 'The class "%s" is not an instance of Badcow\DNS\Rdata\RdataInterface', |
|
| 42 | - $fqcn |
|
| 43 | - )); |
|
| 41 | + 'The class "%s" is not an instance of Badcow\DNS\Rdata\RdataInterface', |
|
| 42 | + $fqcn |
|
| 43 | + )); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | $this->rdataTypes[$type] = $fqcn; |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | public function build(ZoneInterface $zone) |
| 20 | 20 | { |
| 21 | 21 | $master = '$ORIGIN '.$zone->getName().PHP_EOL. |
| 22 | - '$TTL '.$zone->getDefaultTtl().PHP_EOL; |
|
| 22 | + '$TTL '.$zone->getDefaultTtl().PHP_EOL; |
|
| 23 | 23 | |
| 24 | 24 | foreach ($zone->getResourceRecords() as $rr) { |
| 25 | 25 | /* @var $rr ResourceRecord */ |