Skip to content

Commit

Permalink
Use correct namespaces for Payments and PaymentInterface (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: Arthur Sjouw <[email protected]>
  • Loading branch information
arthurflooris and arthur1472 authored Sep 23, 2020
1 parent c0c5a4e commit 3f51036
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Api/Invoices.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
namespace Required\Harvest\Api;

use DateTime;
use Lafiel\Required\Harvest\Api\Invoice\PaymentInterface;
use Lafiel\Required\Harvest\Api\Invoice\Payments;
use Required\Harvest\Api\Invoice\Messages;
use Required\Harvest\Api\Invoice\MessagesInterface;
use Required\Harvest\Api\Invoice\Payments;
use Required\Harvest\Api\Invoice\PaymentsInterface;

/**
* API client for invoices endpoint.
Expand Down Expand Up @@ -200,9 +200,9 @@ public function draft( int $invoiceId ) {
/**
* Gets the authenticated user's project assignments.
*
* @return \Lafiel\Required\Harvest\Api\Invoice\PaymentInterface ;
* @return \Required\Harvest\Api\Invoice\PaymentsInterface ;
*/
public function payments(): PaymentInterface {
public function payments(): PaymentsInterface {
return new Payments( $this->client );
}

Expand Down
6 changes: 3 additions & 3 deletions src/Api/InvoicesInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Required\Harvest\Api;

use Lafiel\Required\Harvest\Api\Invoice\PaymentInterface;
use Required\Harvest\Api\Invoice\MessagesInterface;
use Required\Harvest\Api\Invoice\PaymentsInterface;

/**
* API client for invoices endpoint.
Expand Down Expand Up @@ -107,9 +107,9 @@ public function draft( int $invoiceId );
/**
* Gets the authenticated user's project assignments.
*
* @return \Lafiel\Required\Harvest\Api\Invoice\PaymentInterface ;
* @return \Required\Harvest\Api\Invoice\PaymentsInterface ;
*/
public function payments(): PaymentInterface;
public function payments(): PaymentsInterface;

/**
* Gets a Estimate's messages.
Expand Down

0 comments on commit 3f51036

Please sign in to comment.