diff --git a/src/Application.php b/src/Application.php index 2ce0f91..e9f421a 100644 --- a/src/Application.php +++ b/src/Application.php @@ -9,6 +9,7 @@ * Class Application. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -18,6 +19,7 @@ class Application extends BaseRequest * Create a sandbox Application. * * @return Response\ApplicationResponse|Response\ErrorListResponse + * * @throws Exception */ public function create() diff --git a/src/BaseRequest.php b/src/BaseRequest.php index 9002056..2149582 100644 --- a/src/BaseRequest.php +++ b/src/BaseRequest.php @@ -13,6 +13,7 @@ * Class BaseRequest. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -62,8 +63,8 @@ public function __construct( * Do a post request. * * @param Request\BaseRequest $baseRequest - * * @return Response + * * @throws Exception */ protected function postRequest( @@ -103,8 +104,8 @@ protected function getHeaders(): array * Get the API endpoint. * * @param Request\BaseRequest $baseRequest - * * @return string + * * @throws Exception */ protected function getEndPoint(Request\BaseRequest $baseRequest): string @@ -122,8 +123,8 @@ protected function getEndPoint(Request\BaseRequest $baseRequest): string * Perform a delete request. * * @param Request\BaseRequest $baseRequest - * * @return Response + * * @throws Exception */ protected function deleteRequest( @@ -142,8 +143,8 @@ protected function deleteRequest( * Perform a get request. * * @param Request\BaseRequest $baseRequest - * * @return Response + * * @throws Exception */ protected function getRequest( @@ -163,8 +164,8 @@ protected function getRequest( * @param Response $response * @param string $responseClass * @param int $status - * * @return ErrorListResponse + * * @throws Exception */ protected function checkResponse( diff --git a/src/Controllers/TikkieNotificationController.php b/src/Controllers/TikkieNotificationController.php index 46110b3..eb369ef 100644 --- a/src/Controllers/TikkieNotificationController.php +++ b/src/Controllers/TikkieNotificationController.php @@ -14,6 +14,7 @@ * Class TikkieNotificationController. * * @category Controller + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Events/TikkiePaymentEvent.php b/src/Events/TikkiePaymentEvent.php index 9198c34..bd5527d 100644 --- a/src/Events/TikkiePaymentEvent.php +++ b/src/Events/TikkiePaymentEvent.php @@ -9,6 +9,7 @@ * Class PaymentNotificationEvent. * * @category Event + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Events/TikkieRefundEvent.php b/src/Events/TikkieRefundEvent.php index a1734ba..a93d19d 100644 --- a/src/Events/TikkieRefundEvent.php +++ b/src/Events/TikkieRefundEvent.php @@ -9,6 +9,7 @@ * Class RefundNotificationEvent. * * @category Event + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Facades/Tikkie.php b/src/Facades/Tikkie.php index bb20457..233ddd3 100644 --- a/src/Facades/Tikkie.php +++ b/src/Facades/Tikkie.php @@ -11,6 +11,7 @@ /** * Class Tikkie. + * * @method static Application application() * @method static Payment payment() * @method static PaymentRequest paymentRequest() diff --git a/src/Notification/BaseNotification.php b/src/Notification/BaseNotification.php index c6790dd..36e3c3e 100644 --- a/src/Notification/BaseNotification.php +++ b/src/Notification/BaseNotification.php @@ -8,6 +8,7 @@ * Class BaseNotification. * * @category Notification + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Notification/PaymentNotification.php b/src/Notification/PaymentNotification.php index 55d9fc2..a8d4c46 100644 --- a/src/Notification/PaymentNotification.php +++ b/src/Notification/PaymentNotification.php @@ -6,6 +6,7 @@ * Class PaymentNotification. * * @category Notification + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Notification/RefundNotification.php b/src/Notification/RefundNotification.php index 097d205..9c316a0 100644 --- a/src/Notification/RefundNotification.php +++ b/src/Notification/RefundNotification.php @@ -6,6 +6,7 @@ * Class RefundNotification. * * @category Notification + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Payment.php b/src/Payment.php index ab81c78..c946dc9 100644 --- a/src/Payment.php +++ b/src/Payment.php @@ -12,6 +12,7 @@ * Class Payment. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -22,8 +23,8 @@ class Payment extends BaseRequest * * @param string $paymentRequestToken * @param string $paymentToken - * * @return Response\PaymentResponse|Response\ErrorListResponse + * * @throws Exception */ public function get( @@ -56,8 +57,8 @@ public function get( * @param int $pageSize * @param null $fromDateTime * @param null $toDateTime - * * @return Response\PaymentListResponse|Response\ErrorListResponse + * * @throws Exception */ public function list( diff --git a/src/PaymentRequest.php b/src/PaymentRequest.php index 6593912..96cce83 100644 --- a/src/PaymentRequest.php +++ b/src/PaymentRequest.php @@ -15,6 +15,7 @@ * Class PaymentRequest. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -27,8 +28,8 @@ class PaymentRequest extends BaseRequest * @param string $referenceId * @param null $expiryDate * @param float|null $amount - * * @return Response\PaymentRequestResponse|Response\ErrorListResponse + * * @throws Exception */ public function create(string $description, @@ -77,8 +78,8 @@ public function create(string $description, * @param int $pageSize * @param null $fromDateTime * @param null $toDateTime - * * @return Response\PaymentRequestListResponse|Response\ErrorListResponse + * * @throws Exception */ public function list( @@ -110,8 +111,8 @@ public function list( * Get a payment request. * * @param string $paymentRequestToken - * * @return Response\PaymentRequestResponse|Response\ErrorListResponse + * * @throws Exception */ public function get(string $paymentRequestToken) diff --git a/src/Refund.php b/src/Refund.php index 7f57e18..c877cc6 100644 --- a/src/Refund.php +++ b/src/Refund.php @@ -11,6 +11,7 @@ * Class Refund. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -24,8 +25,8 @@ class Refund extends BaseRequest * @param string $description * @param float $amount * @param string $referenceId - * * @return Response\RefundResponse|Response\ErrorListResponse + * * @throws Exception */ public function create( @@ -60,8 +61,8 @@ public function create( * @param string $paymentRequestToken * @param string $paymentToken * @param string $refundToken - * * @return Response\RefundResponse|Response\ErrorListResponse + * * @throws Exception */ public function get( diff --git a/src/Request/Application.php b/src/Request/Application.php index 2056cba..e7f1cf8 100644 --- a/src/Request/Application.php +++ b/src/Request/Application.php @@ -6,6 +6,7 @@ * Class Application. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/BaseRequest.php b/src/Request/BaseRequest.php index ebbd281..682544b 100644 --- a/src/Request/BaseRequest.php +++ b/src/Request/BaseRequest.php @@ -10,6 +10,7 @@ * Class BaseRequest. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -98,6 +99,7 @@ protected function parseParameters(array $parameters): void * Get the payload for the request. * * @return array + * * @throws Exception */ public function getPayload(): array diff --git a/src/Request/BaseRequestList.php b/src/Request/BaseRequestList.php index 34d4ded..a878589 100644 --- a/src/Request/BaseRequestList.php +++ b/src/Request/BaseRequestList.php @@ -8,6 +8,7 @@ * Class BaseRequestList. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/PaymentItem.php b/src/Request/PaymentItem.php index c65e6ee..47db01c 100644 --- a/src/Request/PaymentItem.php +++ b/src/Request/PaymentItem.php @@ -6,6 +6,7 @@ * Class PaymentItem. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/PaymentList.php b/src/Request/PaymentList.php index 25c67fe..4ccd690 100644 --- a/src/Request/PaymentList.php +++ b/src/Request/PaymentList.php @@ -8,6 +8,7 @@ * Class PaymentList. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/PaymentRequestCreate.php b/src/Request/PaymentRequestCreate.php index e1527a3..0e265ad 100644 --- a/src/Request/PaymentRequestCreate.php +++ b/src/Request/PaymentRequestCreate.php @@ -8,6 +8,7 @@ * Class PaymentRequestCreate. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/PaymentRequestItem.php b/src/Request/PaymentRequestItem.php index a86552f..0396b89 100644 --- a/src/Request/PaymentRequestItem.php +++ b/src/Request/PaymentRequestItem.php @@ -6,6 +6,7 @@ * Class PaymentRequestItem. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/PaymentRequestList.php b/src/Request/PaymentRequestList.php index ab5aad1..d7f941c 100644 --- a/src/Request/PaymentRequestList.php +++ b/src/Request/PaymentRequestList.php @@ -6,6 +6,7 @@ * Class PaymentRequestList. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/RefundCreate.php b/src/Request/RefundCreate.php index 77a6e32..0601f6d 100644 --- a/src/Request/RefundCreate.php +++ b/src/Request/RefundCreate.php @@ -6,6 +6,7 @@ * Class RefundCreate. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -83,7 +84,7 @@ public function getPaymentRequestToken(): string /** * Set the payment request token. * - * @param string $paymentRequestToken + * @param string $paymentRequestToken */ public function setPaymentRequestToken(string $paymentRequestToken): void { @@ -103,7 +104,7 @@ public function getPaymentToken(): string /** * Set the payment token. * - * @param string $paymentToken + * @param string $paymentToken */ public function setPaymentToken(string $paymentToken): void { diff --git a/src/Request/RefundItem.php b/src/Request/RefundItem.php index a51f500..439b2a1 100644 --- a/src/Request/RefundItem.php +++ b/src/Request/RefundItem.php @@ -6,6 +6,7 @@ * Class RefundItem. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/SubscriptionCreate.php b/src/Request/SubscriptionCreate.php index 588c73c..3094a36 100644 --- a/src/Request/SubscriptionCreate.php +++ b/src/Request/SubscriptionCreate.php @@ -6,6 +6,7 @@ * Class SubscriptionCreate. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Request/SubscriptionDelete.php b/src/Request/SubscriptionDelete.php index 5bddfb4..2bcbbcf 100644 --- a/src/Request/SubscriptionDelete.php +++ b/src/Request/SubscriptionDelete.php @@ -6,6 +6,7 @@ * Class SubscriptionDelete. * * @category Request + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/ApplicationResponse.php b/src/Response/ApplicationResponse.php index 4cc6de7..cb50e99 100644 --- a/src/Response/ApplicationResponse.php +++ b/src/Response/ApplicationResponse.php @@ -6,6 +6,7 @@ * Class ApplicationResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/BaseResponse.php b/src/Response/BaseResponse.php index 57b3d09..3a6ad72 100644 --- a/src/Response/BaseResponse.php +++ b/src/Response/BaseResponse.php @@ -10,6 +10,7 @@ * Class BaseResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -66,8 +67,8 @@ protected function parseParameters(array $parameters): void /** * @param $key * @param $parameter - * * @return Carbon|ErrorResponse|Collection|int + * * @throws Exception */ protected function parseParameter( diff --git a/src/Response/ErrorListResponse.php b/src/Response/ErrorListResponse.php index d446023..d26d22a 100644 --- a/src/Response/ErrorListResponse.php +++ b/src/Response/ErrorListResponse.php @@ -8,6 +8,7 @@ * Class ErrorListResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/ErrorResponse.php b/src/Response/ErrorResponse.php index 49ca6b8..df94961 100644 --- a/src/Response/ErrorResponse.php +++ b/src/Response/ErrorResponse.php @@ -6,6 +6,7 @@ * Class ErrorResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/PaymentListResponse.php b/src/Response/PaymentListResponse.php index cc0541e..d8532e9 100644 --- a/src/Response/PaymentListResponse.php +++ b/src/Response/PaymentListResponse.php @@ -8,6 +8,7 @@ * Class PaymentListResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/PaymentRequestListResponse.php b/src/Response/PaymentRequestListResponse.php index f0adc5c..a0b849d 100644 --- a/src/Response/PaymentRequestListResponse.php +++ b/src/Response/PaymentRequestListResponse.php @@ -8,6 +8,7 @@ * Class PaymentRequestListResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/PaymentRequestResponse.php b/src/Response/PaymentRequestResponse.php index 785ffb9..7911574 100644 --- a/src/Response/PaymentRequestResponse.php +++ b/src/Response/PaymentRequestResponse.php @@ -8,6 +8,7 @@ * Class PaymentRequestResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/PaymentResponse.php b/src/Response/PaymentResponse.php index 0f42f1b..d102f42 100644 --- a/src/Response/PaymentResponse.php +++ b/src/Response/PaymentResponse.php @@ -10,6 +10,7 @@ * Class PaymentResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/RefundResponse.php b/src/Response/RefundResponse.php index d0bb72e..442686b 100644 --- a/src/Response/RefundResponse.php +++ b/src/Response/RefundResponse.php @@ -8,6 +8,7 @@ * Class RefundResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/SubscriptionDeleteResponse.php b/src/Response/SubscriptionDeleteResponse.php index 8d32548..5de126b 100644 --- a/src/Response/SubscriptionDeleteResponse.php +++ b/src/Response/SubscriptionDeleteResponse.php @@ -6,6 +6,7 @@ * Class SubscriptionDeleteResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Response/SubscriptionResponse.php b/src/Response/SubscriptionResponse.php index 698763c..9e69d78 100644 --- a/src/Response/SubscriptionResponse.php +++ b/src/Response/SubscriptionResponse.php @@ -6,6 +6,7 @@ * Class SubscriptionResponse. * * @category Response + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/Subscription.php b/src/Subscription.php index 47ba27f..91ee620 100644 --- a/src/Subscription.php +++ b/src/Subscription.php @@ -12,6 +12,7 @@ * Class Subscription. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -21,8 +22,8 @@ class Subscription extends BaseRequest * Create a subscription. * * @param string $url - * * @return Response\SubscriptionResponse|Response\ErrorListResponse + * * @throws Exception */ public function create(string $url) @@ -46,6 +47,7 @@ public function create(string $url) * Delete a subscription. * * @return Response\SubscriptionDeleteResponse|Response\ErrorListResponse + * * @throws Exception */ public function delete() diff --git a/src/Tikkie.php b/src/Tikkie.php index 8d9115a..1d8ab10 100644 --- a/src/Tikkie.php +++ b/src/Tikkie.php @@ -6,6 +6,7 @@ * Class Tikkie. * * @category Calls + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/src/TikkieServiceProvider.php b/src/TikkieServiceProvider.php index 2848cc7..10adabc 100644 --- a/src/TikkieServiceProvider.php +++ b/src/TikkieServiceProvider.php @@ -8,6 +8,7 @@ * Class TikkieServiceProvider. * * @category ServiceProvider + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Helpers/Helper.php b/tests/Helpers/Helper.php index 7d41594..a19be47 100644 --- a/tests/Helpers/Helper.php +++ b/tests/Helpers/Helper.php @@ -10,7 +10,7 @@ class Helper /** * Get a random string of a given size. * - * @param int $size + * @param int $size * @return string */ public function getRandomString(int $size = 20): string @@ -21,7 +21,7 @@ public function getRandomString(int $size = 20): string /** * Get a random number of a given size. * - * @param int $size + * @param int $size * @return int */ public function getRandomNumber(int $size = 4): int diff --git a/tests/Mocks/ApplicationResponseMock.php b/tests/Mocks/ApplicationResponseMock.php index ff24c1e..e3e46a4 100644 --- a/tests/Mocks/ApplicationResponseMock.php +++ b/tests/Mocks/ApplicationResponseMock.php @@ -8,6 +8,7 @@ * Class ApplicationResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -16,7 +17,7 @@ class ApplicationResponseMock /** * ApplicationResponseMock constructor. * - * @param string $appToken + * @param string $appToken */ public function __construct(string $appToken) { diff --git a/tests/Mocks/CreatePaymentRequestResponseMock.php b/tests/Mocks/CreatePaymentRequestResponseMock.php index 4d53ccc..d1c7993 100644 --- a/tests/Mocks/CreatePaymentRequestResponseMock.php +++ b/tests/Mocks/CreatePaymentRequestResponseMock.php @@ -10,6 +10,7 @@ * Class CreatePaymentRequestResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/CreateRefundResponseMock.php b/tests/Mocks/CreateRefundResponseMock.php index 698c934..8a2148d 100644 --- a/tests/Mocks/CreateRefundResponseMock.php +++ b/tests/Mocks/CreateRefundResponseMock.php @@ -10,6 +10,7 @@ * Class CreateRefundResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/CreateSubscriptionResponseMock.php b/tests/Mocks/CreateSubscriptionResponseMock.php index 41380f6..ed8ea05 100644 --- a/tests/Mocks/CreateSubscriptionResponseMock.php +++ b/tests/Mocks/CreateSubscriptionResponseMock.php @@ -8,6 +8,7 @@ * Class CreateSubscriptionResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/DeleteSubscriptionResponseMock.php b/tests/Mocks/DeleteSubscriptionResponseMock.php index 404d78c..021c9bd 100644 --- a/tests/Mocks/DeleteSubscriptionResponseMock.php +++ b/tests/Mocks/DeleteSubscriptionResponseMock.php @@ -8,6 +8,7 @@ * Class DeleteSubscriptionResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/ErrorResponseMock.php b/tests/Mocks/ErrorResponseMock.php index 0f433af..4316bf8 100644 --- a/tests/Mocks/ErrorResponseMock.php +++ b/tests/Mocks/ErrorResponseMock.php @@ -8,6 +8,7 @@ * Class ErrorResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -16,11 +17,11 @@ class ErrorResponseMock /** * ErrorResponseMock constructor. * - * @param string $code - * @param string $message - * @param string $reference - * @param string $traceId - * @param int $status + * @param string $code + * @param string $message + * @param string $reference + * @param string $traceId + * @param int $status */ public function __construct( string $code, diff --git a/tests/Mocks/GetPaymentRequestsResponseMock.php b/tests/Mocks/GetPaymentRequestsResponseMock.php index c71c243..c2b1b61 100644 --- a/tests/Mocks/GetPaymentRequestsResponseMock.php +++ b/tests/Mocks/GetPaymentRequestsResponseMock.php @@ -10,6 +10,7 @@ * Class GetPaymentRequestsResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/GetPaymentResponseMock.php b/tests/Mocks/GetPaymentResponseMock.php index 55ca435..dbe9938 100644 --- a/tests/Mocks/GetPaymentResponseMock.php +++ b/tests/Mocks/GetPaymentResponseMock.php @@ -10,6 +10,7 @@ * Class GetPaymentResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/GetRefundResponseMock.php b/tests/Mocks/GetRefundResponseMock.php index 88aed94..bb49aa2 100644 --- a/tests/Mocks/GetRefundResponseMock.php +++ b/tests/Mocks/GetRefundResponseMock.php @@ -10,6 +10,7 @@ * Class GetRefundResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/ListPaymentRequestsResponseMock.php b/tests/Mocks/ListPaymentRequestsResponseMock.php index 8a3c5f2..6493b5d 100644 --- a/tests/Mocks/ListPaymentRequestsResponseMock.php +++ b/tests/Mocks/ListPaymentRequestsResponseMock.php @@ -10,6 +10,7 @@ * Class ListPaymentRequestsResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/Mocks/ListPaymentsResponseMock.php b/tests/Mocks/ListPaymentsResponseMock.php index 97ef32d..133d5c7 100644 --- a/tests/Mocks/ListPaymentsResponseMock.php +++ b/tests/Mocks/ListPaymentsResponseMock.php @@ -10,6 +10,7 @@ * Class ListPaymentsResponseMock. * * @category Tests\Mocks + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ diff --git a/tests/TestCase.php b/tests/TestCase.php index c914f29..dc11c82 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -34,6 +34,7 @@ * This is the abstract test case class. * * @category Tests + * * @author Job Wiegant * @license http://www.opensource.org/licenses/mit-license.html MIT License */ @@ -66,7 +67,6 @@ protected function getEnvironmentSetUp($app) * Get the service provider class. * * @param \Illuminate\Contracts\Foundation\Application $app - * * @return array */ protected function getPackageProviders($app) @@ -95,7 +95,6 @@ private function getHelper() * Get the facade class. * * @param \Illuminate\Contracts\Foundation\Application $app - * * @return array */ protected function getPackageAliases($app) @@ -109,6 +108,7 @@ protected function getPackageAliases($app) * Creation of a Tikkie application. * * @return string + * * @throws Exception */ public function createTikkieApplication() @@ -1166,8 +1166,7 @@ public function testRoundingOfValue() { $this->assertEquals( 1990, - (int) round(19.90*100) + (int) round(19.90 * 100) ); } - }