Skip to content

Commit 5914cfe

Browse files
authored
Merge pull request #165 from php-cpm/patch-1
Add Comments of return data type
2 parents 07b94b6 + 1df3d09 commit 5914cfe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Common/GatewayInterface.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ interface GatewayInterface
4040
* Get gateway display name
4141
*
4242
* This can be used by carts to get the display name for each gateway.
43+
* @return string
4344
*/
4445
public function getName();
4546

@@ -48,6 +49,7 @@ public function getName();
4849
*
4950
* This name can be used with GatewayFactory as an alias of the gateway class,
5051
* to create new instances of this gateway.
52+
* @return string
5153
*/
5254
public function getShortName();
5355

@@ -59,17 +61,18 @@ public function getShortName();
5961
* 'testMode' => false, // boolean variable
6062
* 'landingPage' => array('billing', 'login'), // enum variable, first item is default
6163
* );
64+
* @return array
6265
*/
6366
public function getDefaultParameters();
6467

6568
/**
6669
* Initialize gateway with parameters
70+
* @return $this
6771
*/
6872
public function initialize(array $parameters = array());
6973

7074
/**
7175
* Get all gateway parameters
72-
*
7376
* @return array
7477
*/
7578
public function getParameters();

0 commit comments

Comments
 (0)