File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class Mail extends \PleskX\Api\Operator
12
12
* @param string $forwardAddress
13
13
* @return Struct\Info
14
14
*/
15
- public function create (string $ name , int $ siteId , string $ forwardAddress )
15
+ public function create (string $ name , int $ siteId , string $ forwardAddress ): Struct \ Info
16
16
{
17
17
$ packet = $ this ->_client ->getPacket ();
18
18
$ info = $ packet ->addChild ($ this ->_wrapperTag )->addChild ('create ' );
@@ -54,7 +54,7 @@ public function get(int $siteId)
54
54
* @param integer $siteId
55
55
* @return bool
56
56
*/
57
- public function delete ($ field , $ value , $ siteId )
57
+ public function delete ($ field , $ value , $ siteId ): bool
58
58
{
59
59
$ packet = $ this ->_client ->getPacket ();
60
60
$ filter = $ packet ->addChild ($ this ->_wrapperTag )->addChild ('remove ' )->addChild ('filter ' );
You can’t perform that action at this time.
0 commit comments