Skip to content

Commit

Permalink
Missing imports for documentation and editorconfig (#70)
Browse files Browse the repository at this point in the history
* Missing imports for documentation and editorconfig

* Updated editorconfig
  • Loading branch information
pjcarly authored and bojanz committed Jan 14, 2020
1 parent ce7195a commit b3124d4
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
; top-most EditorConfig file
root = true

; Unix-style newlines
[*]
charset = utf-8
end_of_line = LF
insert_final_newline = true
trim_trailing_whitespace = true

[*.{php,html,twig}]
indent_style = space
indent_size = 4

[*.md]
max_line_length = 80

[COMMIT_EDITMSG]
max_line_length = 0
2 changes: 2 additions & 0 deletions src/Repository/TaxTypeRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace CommerceGuys\Tax\Repository;

use CommerceGuys\Tax\Model\TaxTypeInterface;

/**
* Tax type repository interface.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Resolver/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Context
/**
* The calculation date.
*
* @var DateTime
* @var \DateTime
*/
protected $date;

Expand Down Expand Up @@ -162,7 +162,7 @@ public function setStoreRegistrations(array $storeRegistrations)
/**
* Gets the calculation date.
*
* @return DateTime The calculation date.
* @return \DateTime The calculation date.
*/
public function getDate()
{
Expand Down
3 changes: 3 additions & 0 deletions src/Resolver/TaxResolverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace CommerceGuys\Tax\Resolver;

use CommerceGuys\Tax\Model\TaxRateAmountInterface;
use CommerceGuys\Tax\Model\TaxRateInterface;
use CommerceGuys\Tax\Model\TaxTypeInterface;
use CommerceGuys\Tax\TaxableInterface;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Resolver/TaxType/CanadaTaxTypeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace CommerceGuys\Tax\Resolver\TaxType;

use CommerceGuys\Tax\Model\TaxTypeInterface;
use CommerceGuys\Tax\TaxableInterface;
use CommerceGuys\Tax\Repository\TaxTypeRepositoryInterface;
use CommerceGuys\Tax\Resolver\Context;
Expand Down
1 change: 1 addition & 0 deletions src/Resolver/TaxType/ChainTaxTypeResolverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use CommerceGuys\Tax\TaxableInterface;
use CommerceGuys\Tax\Resolver\Context;
use CommerceGuys\Tax\Model\TaxTypeInterface;
use CommerceGuys\Tax\Resolver\TaxType\TaxTypeResolverInterface;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Resolver/TaxType/DefaultTaxTypeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace CommerceGuys\Tax\Resolver\TaxType;

use CommerceGuys\Tax\Model\TaxTypeInterface;
use CommerceGuys\Tax\TaxableInterface;
use CommerceGuys\Tax\Repository\TaxTypeRepositoryInterface;
use CommerceGuys\Tax\Resolver\Context;
Expand Down

0 comments on commit b3124d4

Please sign in to comment.