Skip to content

Commit

Permalink
Cleanup all the @see's
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Nov 1, 2018
1 parent 8b9f038 commit 301f680
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 34 deletions.
2 changes: 0 additions & 2 deletions src/Common/AbstractGateway.php
Expand Up @@ -40,7 +40,6 @@
*
* For further code examples see the *omnipay-example* repository on github.
*
* @see GatewayInterface
*/
abstract class AbstractGateway implements GatewayInterface
{
Expand Down Expand Up @@ -290,7 +289,6 @@ public function supportsUpdateCard()
* $myRequest = $gw->myRequest($someParameters);
* </code>
*
* @see \Omnipay\Common\Message\AbstractRequest
* @param string $class The request class name
* @param array $parameters
* @return \Omnipay\Common\Message\AbstractRequest
Expand Down
1 change: 0 additions & 1 deletion src/Common/CreditCard.php
Expand Up @@ -151,7 +151,6 @@ public function __construct($parameters = null)
* Note: The fact that this class knows about a particular card brand does not imply
* that your gateway supports it.
*
* @see self::$supported_cards
* @return array
*/
public function getSupportedBrands()
Expand Down
1 change: 0 additions & 1 deletion src/Common/GatewayFactory.php
Expand Up @@ -26,7 +26,6 @@
* $gateway = Omnipay::create('ExpressGateway');
* </code>
*
* @see Omnipay\Omnipay
*/
class GatewayFactory
{
Expand Down
1 change: 0 additions & 1 deletion src/Common/GatewayInterface.php
Expand Up @@ -11,7 +11,6 @@
* This interface class defines the standard functions that any
* Omnipay gateway needs to define.
*
* @see AbstractGateway
*
* @method \Omnipay\Common\Message\NotificationInterface acceptNotification(array $options = array()) (Optional method)
* Receive and handle an instant payment notification (IPN)
Expand Down
8 changes: 1 addition & 7 deletions src/Common/Issuer.php
Expand Up @@ -29,18 +29,14 @@ class Issuer

/**
* The ID of a payment method that the issuer belongs to.
*
* @see PaymentMethod
*
**
* @var string
*/
protected $paymentMethod;

/**
* Create a new Issuer
*
* @see PaymentMethod
*
* @param string $id The identifier of this issuer
* @param string $name The name of this issuer
* @param string|null $paymentMethod The ID of a payment method this issuer belongs to
Expand Down Expand Up @@ -75,8 +71,6 @@ public function getName()
/**
* The ID of a payment method this issuer belongs to
*
* @see PaymentMethod
*
* @return string
*/
public function getPaymentMethod()
Expand Down
1 change: 0 additions & 1 deletion src/Common/Item.php
Expand Up @@ -12,7 +12,6 @@
*
* This class defines a single cart item in the Omnipay system.
*
* @see ItemInterface
*/
class Item implements ItemInterface
{
Expand Down
5 changes: 0 additions & 5 deletions src/Common/ItemBag.php
Expand Up @@ -11,14 +11,12 @@
* This class defines a bag (multi element set or array) of single cart items
* in the Omnipay system.
*
* @see Item
*/
class ItemBag implements \IteratorAggregate, \Countable
{
/**
* Item storage
*
* @see Item
*
* @var array
*/
Expand All @@ -37,7 +35,6 @@ public function __construct(array $items = array())
/**
* Return all the items
*
* @see Item
*
* @return array An array of items
*/
Expand All @@ -49,7 +46,6 @@ public function all()
/**
* Replace the contents of this bag with the specified items
*
* @see Item
*
* @param array $items An array of items
*/
Expand All @@ -65,7 +61,6 @@ public function replace(array $items = array())
/**
* Add an item to the bag
*
* @see Item
*
* @param ItemInterface|array $item An existing item, or associative array of item parameters
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Common/Message/AbstractRequest.php
Expand Up @@ -62,8 +62,6 @@
* // now do something with the $myResponse object, test for success, etc.
* </code>
*
* @see RequestInterface
* @see AbstractResponse
*/
abstract class AbstractRequest implements RequestInterface
{
Expand Down
1 change: 0 additions & 1 deletion src/Common/Message/AbstractResponse.php
Expand Up @@ -26,7 +26,6 @@
* // now do something with the $myResponse object, test for success, etc.
* </code>
*
* @see ResponseInterface
*/
abstract class AbstractResponse implements ResponseInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Common/Message/FetchIssuersResponseInterface.php
Expand Up @@ -15,8 +15,6 @@
* This happens when the gateway needs the customer to choose a
* card issuer.
*
* @see ResponseInterface
* @see Omnipay\Common\Issuer
*/
interface FetchIssuersResponseInterface extends ResponseInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Common/Message/FetchPaymentMethodsResponseInterface.php
Expand Up @@ -15,8 +15,6 @@
* This happens when the gateway needs the customer to choose a
* payment method.
*
* @see ResponseInterface
* @see Omnipay\Common\PaymentMethod
*/
interface FetchPaymentMethodsResponseInterface extends ResponseInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Common/Message/NotificationInterface.php
Expand Up @@ -21,8 +21,8 @@ public function getTransactionReference();
/**
* Was the transaction successful?
*
* @return string Transaction status, one of {@see STATUS_COMPLETED}, {@see #STATUS_PENDING},
* or {@see #STATUS_FAILED}.
* @return string Transaction status, one of {@link NotificationInterface::STATUS_COMPLETED},
* {@link NotificationInterface::STATUS_PENDING}, or {@link NotificationInterface::STATUS_FAILED}.
*/
public function getTransactionStatus();

Expand Down
1 change: 0 additions & 1 deletion src/Common/Message/RedirectResponseInterface.php
Expand Up @@ -13,7 +13,6 @@
* interface class with some extra functions relating to the
* specifics of a redirect response from the gateway.
*
* @see ResponseInterface
*/
interface RedirectResponseInterface extends ResponseInterface
{
Expand Down
1 change: 0 additions & 1 deletion src/Common/Message/RequestInterface.php
Expand Up @@ -11,7 +11,6 @@
* This interface class defines the standard functions that any Omnipay request
* interface needs to be able to provide. It is an extension of MessageInterface.
*
* @see MessageInterface
*/
interface RequestInterface extends MessageInterface
{
Expand Down
1 change: 0 additions & 1 deletion src/Common/Message/ResponseInterface.php
Expand Up @@ -11,7 +11,6 @@
* This interface class defines the standard functions that any Omnipay response
* interface needs to be able to provide. It is an extension of MessageInterface.
*
* @see MessageInterface
*/
interface ResponseInterface extends MessageInterface
{
Expand Down
3 changes: 0 additions & 3 deletions src/Common/PaymentMethod.php
Expand Up @@ -10,7 +10,6 @@
*
* This class defines a payment method to be used in the Omnipay system.
*
* @see Issuer
*/
class PaymentMethod
{
Expand All @@ -19,8 +18,6 @@ class PaymentMethod
* The ID of the payment method. Used as the payment method ID in the
* Issuer class.
*
* @see Issuer
*
* @var string
*/
protected $id;
Expand Down
2 changes: 1 addition & 1 deletion src/Omnipay.php
Expand Up @@ -50,7 +50,7 @@
* @method static \Omnipay\Common\GatewayInterface create(string $class, ClientInterface $httpClient = null, \Symfony\Component\HttpFoundation\Request $httpRequest = null)
* @codingStandardsIgnoreEnd
*
* @see Omnipay\Common\GatewayFactory
* @see \Omnipay\Common\GatewayFactory
*/
class Omnipay
{
Expand Down

0 comments on commit 301f680

Please sign in to comment.