@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | // print the total amount of time spent |
| 92 | 92 | $result .= ' |
| 93 | 93 | ==================================================== |
| 94 | -Total: ' . Date::secondsToUnits($this->totalDuration) . ' |
|
| 94 | +Total: ' . Date::secondsToUnits($this->totalDuration).' |
|
| 95 | 95 | ===================================================='; |
| 96 | 96 | |
| 97 | 97 | // return the string |
@@ -122,23 +122,23 @@ discard block |
||
| 122 | 122 | Date::secondsToUnits($task->getDuration()), |
| 123 | 123 | $booking->getComment() |
| 124 | 124 | ) |
| 125 | - ) . ' |
|
| 125 | + ).' |
|
| 126 | 126 | '; |
| 127 | 127 | $total += $task->getDuration(); |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | // we also need the first and last element of the array |
| 131 | - $firstBooking= reset($tasks)->getStartBooking(); |
|
| 131 | + $firstBooking = reset($tasks)->getStartBooking(); |
|
| 132 | 132 | $lastBooking = end($tasks)->getEndBooking(); |
| 133 | 133 | |
| 134 | 134 | // begin the string generation |
| 135 | - $result = $ticketId . ' ' . $firstBooking->getTime() . ' -> ' . $lastBooking->getTime() . ' |
|
| 135 | + $result = $ticketId.' '.$firstBooking->getTime().' -> '.$lastBooking->getTime().' |
|
| 136 | 136 | ==================================================== |
| 137 | 137 | ' . $ticketList; |
| 138 | 138 | |
| 139 | 139 | // print the total and end with another linebreak without indention to break groups apart |
| 140 | 140 | $result .= '------------------------------------------------- |
| 141 | - ' . Date::secondsToUnits($total) . ' |
|
| 141 | + ' . Date::secondsToUnits($total).' |
|
| 142 | 142 | |
| 143 | 143 | '; |
| 144 | 144 | $this->totalDuration += $total; |