Skip to content

Commit 1660b85

Browse files
committed
phpdoc for magic methods
1 parent 780f795 commit 1660b85

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Omnipay/Omnipay.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
*
4141
* For further code examples see the *omnipay-example* repository on github.
4242
*
43+
* @method static array all()
44+
* @method static array replace(array $gateways)
45+
* @method static string register(string $className)
46+
* @method static array find()
47+
* @method static array getSupportedGateways()
48+
* @method static \Omnipay\Common\GatewayInterface create(string $class, \Guzzle\Http\ClientInterface $httpClient = null, \Symfony\Component\HttpFoundation\Request $httpRequest = null)
49+
*
4350
* @see Omnipay\Common\GatewayFactory
4451
*/
4552
class Omnipay
@@ -95,7 +102,7 @@ public static function setFactory(GatewayFactory $factory = null)
95102
* @see GatewayFactory
96103
*
97104
* @param string $method The factory method to invoke.
98-
* @param mixed $parameters Parameters passed to the factory method.
105+
* @param array $parameters Parameters passed to the factory method.
99106
*
100107
* @return mixed
101108
*/

0 commit comments

Comments
 (0)