Skip to content

Commit f7227fe

Browse files
committed
Made minor modifications according to Gunter's comments.
1 parent 487b00f commit f7227fe

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

src/AfriCC/EPP/AbstractFrame.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@ private function getStructure()
225225
}
226226

227227
if ($this instanceof ExtensionInterface) {
228-
//Automatically guess extension according to class name if not defined in class.
229-
//I do that for nicmx-domrst extension, maybe there is a cleaner solution.
228+
// automatically guess extension according to class name if not defined in class
230229
if (!isset($this->extension)) {
231230
$this->extension = strtolower($this->className(get_class($this)));
232231
}

src/AfriCC/EPP/Extension/NICMX/Info/Rar.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the php-epp2 library.
55
*
6-
* (c) Gunter Grodotzki <[email protected]>
6+
* (c) Julien Barbedette <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE file
99
* that was distributed with this source code.
@@ -15,7 +15,7 @@
1515
use AfriCC\EPP\ExtensionInterface as Extension;
1616

1717
/**
18-
* @link https://www.registry.net.za/content.php?wiki=1&contentid=18&title=EPP%20Contact%20Extensions
18+
* @link http://www.registry.mx
1919
*/
2020
class Rar extends Info implements Extension
2121
{
@@ -25,11 +25,11 @@ public function __construct()
2525
{
2626
parent::__construct();
2727

28-
$this->set(null, '');
28+
$this->set();
2929
}
3030

3131
public function getExtensionNamespace()
3232
{
3333
return $this->extension_xmlns;
3434
}
35-
}
35+
}

src/AfriCC/EPP/Extension/NICMX/Restore/Domain.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the php-epp2 library.
55
*
6-
* (c) Gunter Grodotzki <[email protected]>
6+
* (c) Julien Barbedette <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE file
99
* that was distributed with this source code.
@@ -14,6 +14,9 @@
1414
use AfriCC\EPP\Frame\Command\Renew as Renew;
1515
use AfriCC\EPP\ExtensionInterface as Extension;
1616

17+
/**
18+
* @link https://www.registry.mx
19+
*/
1720
class Domain extends Renew implements Extension
1821
{
1922
protected $extension = 'nicmx-domrst';
@@ -28,4 +31,4 @@ public function getExtensionNamespace()
2831
{
2932
return $this->extension_xmlns;
3033
}
31-
}
34+
}

0 commit comments

Comments
 (0)