From b6e22a4d9da5e25165255ee134c15a4a16b79f62 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 28 Jul 2016 17:41:53 +0200 Subject: Fix documentation issues --- classes/Payment.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'classes/Payment.php') diff --git a/classes/Payment.php b/classes/Payment.php index 5bc08dc..4b8c12b 100644 --- a/classes/Payment.php +++ b/classes/Payment.php @@ -25,6 +25,7 @@ * An interface to the payment table in the database */ class Payment extends Model { + /** {@inheritDoc} */ public $table = 'payment', $fillable_columns = ['offerId', 'date', 'braintree_id']; @@ -38,6 +39,11 @@ class Payment extends Model { return new Offer($this->pdo, $this->offerId); } + /** + * {@inheritDoc} + * @param $key {@inheritDoc} + * @param $value {@inheritDoc} + */ protected function accessor($key, $value) { switch ($key) { case 'date': @@ -48,6 +54,11 @@ class Payment extends Model { } } + /** + * {@inheritDoc} + * @param $key {@inheritDoc} + * @param $value {@inheritDoc} + */ protected function mutator($key, $value) { switch ($key) { case 'date': -- cgit v1.2.3