|
9 | 9 | * @author Paco Orozco <[email protected]>
|
10 | 10 | * @copyright 2016 Paco Orozco
|
11 | 11 | * @license GPL-3.0 <http://spdx.org/licenses/GPL-3.0>
|
| 12 | + * |
12 | 13 | * @link https://github.com/pacoorozco/probind
|
13 | 14 | */
|
14 | 15 |
|
|
35 | 36 | * The Zone model contains all DNS information of a zone / domain name.
|
36 | 37 | * Has one-to-many relationship in order to associate ResourceRecord models for Master Zones.
|
37 | 38 | *
|
38 |
| - * @property int $id The object unique id. |
39 |
| - * @property string $domain The domain name that represents this zone. |
40 |
| - * @property int $serial The serial number of this zone. |
41 |
| - * @property string $server The IP address of the master server. If it's set to null, this zone is a primary zone. |
42 |
| - * @property bool $reverse_zone This flag determines if this zone is a .IN-ADDR.ARPA. zone. |
43 |
| - * @property bool $custom_settings This flag determines if this zone has custom timers. |
44 |
| - * @property int $refresh Custom Refresh time value. |
45 |
| - * @property int $retry Custom Retry time value. |
46 |
| - * @property int $expire Custom Expire time value. |
47 |
| - * @property int $negative_ttl Custom Negative TTL value. |
48 |
| - * @property int $default_ttl Custom TTL value. |
| 39 | + * @property int $id The object unique id. |
| 40 | + * @property string $domain The domain name that represents this zone. |
| 41 | + * @property int $serial The serial number of this zone. |
| 42 | + * @property string $server The IP address of the master server. If it's set to null, this zone is a primary zone. |
| 43 | + * @property bool $reverse_zone This flag determines if this zone is a .IN-ADDR.ARPA. zone. |
| 44 | + * @property bool $custom_settings This flag determines if this zone has custom timers. |
| 45 | + * @property int $refresh Custom Refresh time value. |
| 46 | + * @property int $retry Custom Retry time value. |
| 47 | + * @property int $expire Custom Expire time value. |
| 48 | + * @property int $negative_ttl Custom Negative TTL value. |
| 49 | + * @property int $default_ttl Custom TTL value. |
49 | 50 | * @property string $primaryNameServer
|
50 | 51 | * @property string $hostmasterEmail
|
51 |
| - * @property bool $has_modifications This flag determines if this zone has been pending changes to sync. |
| 52 | + * @property bool $has_modifications This flag determines if this zone has been pending changes to sync. |
52 | 53 | *
|
53 | 54 | * @link https://www.ietf.org/rfc/rfc1035.txt
|
54 | 55 | * @link https://www.ietf.org/rfc/rfc2782.txt
|
@@ -184,8 +185,7 @@ public function isPrimary(): bool
|
184 | 185 | * This generates a new serial, based on the often used format YYYYMMDDXX where XX is an ascending serial, allowing
|
185 | 186 | * up to 100 edits per day. After that the serial wraps into the next day and it still works.
|
186 | 187 | *
|
187 |
| - * @param int $currentSerialNumber |
188 |
| - * |
| 188 | + * @param int $currentSerialNumber |
189 | 189 | * @return int
|
190 | 190 | */
|
191 | 191 | public static function calculateNewSerialNumber(int $currentSerialNumber = 0): int
|
|
0 commit comments