aboutsummaryrefslogtreecommitdiff
path: root/classes/assignment.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-20 11:31:00 +0200
committerCamil Staps2016-07-20 11:31:00 +0200
commit1ab821a2caef96ca33e8ea5c26a5bf01c51f1cb2 (patch)
treebcf0634c66580c2840ecf785dce76b48a855a893 /classes/assignment.php
parentSpaces to tabs in classes (diff)
Documentation Calculatable; made calculate* protected
Diffstat (limited to 'classes/assignment.php')
-rw-r--r--classes/assignment.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/assignment.php b/classes/assignment.php
index 502f5d5..25b6432 100644
--- a/classes/assignment.php
+++ b/classes/assignment.php
@@ -258,11 +258,11 @@ class assignment {
// Other functions
//------------------------------------------------------------------------------
- public function calculateSubtotal() {
+ protected function calculateSubtotal() {
return $this->getHours() * $this->getPricePerHour();
}
- public function calculateVAT() {
+ protected function calculateVAT() {
return $this->calculateSubtotal() * $this->getVAT() / 100;
}