| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | View Code Duplication | public function getTextBody() |
|
| 31 | { |
||
| 32 | return 'You are recieving this message because your pending shift for '.$this->shift['roleID'].' starting at '.$this->shift['startTime'].' has been removed. |
||
| 33 | Thank you for your interest in this shift, but we could not accomidate your request for this shift at this time. |
||
| 34 | Thank you, |
||
| 35 | Burning Flipside Volunteer Team'; |
||
| 36 | } |
||
| 37 | } |
||
| 39 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: