@@ -22,7 +22,6 @@ |
||
22 | 22 | use Symfony\Component\Console\Command\Command; |
23 | 23 | use Symfony\Component\Console\Input\InputArgument; |
24 | 24 | use Symfony\Component\Console\Input\InputInterface; |
25 | -use Symfony\Component\Console\Input\InputOption; |
|
26 | 25 | use Symfony\Component\Console\Output\OutputInterface; |
27 | 26 | use Wicked\Timely\Entities\Booking; |
28 | 27 | use Wicked\Timely\Storage\StorageFactory; |
@@ -118,7 +118,7 @@ |
||
118 | 118 | $firstBooking = end($tasks)->getStartBooking(); |
119 | 119 | |
120 | 120 | // begin the string generation |
121 | - $result = $ticketId . ' ' . $firstBooking->getTime() . ' -> ' . $lastBooking->getTime() . ' |
|
121 | + $result = $ticketId . ' ' . $firstBooking->getTime() . ' -> ' . $lastBooking->getTime() . ' |
|
122 | 122 | ==================================================== |
123 | 123 | ' . $ticketList; |
124 | 124 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | $startBooking = null; |
47 | 47 | $intermediateBookings = array(); |
48 | 48 | $bookingsCount = count($bookings) - 1; |
49 | - for ($i = $bookingsCount; $i >= 0; $i --) { |
|
49 | + for ($i = $bookingsCount; $i >= 0; $i--) { |
|
50 | 50 | $booking = $bookings[$i]; |
51 | 51 | // set the start booking |
52 | 52 | if (is_null($startBooking) && (($booking->getTicketId() !== Pause::PAUSE_TAG_START && $booking->getTicketId() !== Pause::PAUSE_TAG_END) || $includePauses)) { |