Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omnia/feature/#77 tax interface #62

Merged
merged 8 commits into from
Feb 24, 2021
Merged

Conversation

devjk1
Copy link
Contributor

@devjk1 devjk1 commented Feb 24, 2021

closes #61

Support package
-added TaxRequest interface
-added TaxRequestItem interface
-extended TipoffPackage with hasBindings helper
-added bindings to TipoffServiceProvider

@drewroberts
Copy link
Member

@pdbreen Can you take a look at this?


public function hasBindings(array $bindings): self
{
$this->bindings = array_merge($this->bindings, $bindings);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like other types, bindings should be declared as a class property, initialized to empty array.

Copy link
Contributor

@pdbreen pdbreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is existing test coverage for TipoffPackage/TipoffServiceProvider, its best practice to extend the tests for the new functionality.

Also, one specific change needed.

Copy link
Contributor

@pdbreen pdbreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok to me

Copy link
Member

@drewroberts drewroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🌜

@drewroberts drewroberts merged commit dbcdbaa into main Feb 24, 2021
@drewroberts drewroberts deleted the omnia/feature/#77-tax-interface branch February 24, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Tax Interface proposal
3 participants