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

Add method getPriceByPlanCode #18

Merged
merged 2 commits into from
May 4, 2017
Merged

Add method getPriceByPlanCode #18

merged 2 commits into from
May 4, 2017

Conversation

barberemi
Copy link
Contributor

No description provided.

@barberemi barberemi requested a review from tristanbes May 4, 2017 08:28
lib/Api/Plan.php Outdated
public function getPriceByPlanCode(string $planCode): string
{
$plan = $this->getPlan($planCode);
return (array_key_exists('recurring_price',$plan)) ? $plan['recurring_price'] : '';
Copy link
Contributor

Choose a reason for hiding this comment

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

missing newline before return

Copy link
Contributor

Choose a reason for hiding this comment

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

missing space after commat ,$plan)

@tristanbes tristanbes merged commit 52604f1 into master May 4, 2017
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.

2 participants