Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Fix #18: Prevent division by zero exception #20

Merged
merged 1 commit into from
Jan 7, 2016
Merged

Conversation

mrfyda
Copy link
Contributor

@mrfyda mrfyda commented Jan 5, 2016

Fixes #18

@@ -135,4 +135,12 @@ private function getRelativePath(\SimpleXMLElement $fileName)

return $str;
}

private function safeDivision($a, $b)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

machadoit added a commit that referenced this pull request Jan 7, 2016
Fix #18: Prevent division by zero exception
@machadoit machadoit merged commit b2fdbb9 into master Jan 7, 2016
@pedrorijo91 pedrorijo91 deleted the safe-division branch August 26, 2016 18:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants