@@ -5,11 +5,9 @@ |
||
| 5 | 5 | use JhFlexiTime\Repository\UserSettingsRepositoryInterface; |
| 6 | 6 | use JhFlexiTime\Service\BookingService; |
| 7 | 7 | use JhFlexiTime\Service\TimeCalculatorService; |
| 8 | -use JhFlexiTime\Validator\UniqueBooking; |
|
| 9 | 8 | use Zend\Form\FormInterface; |
| 10 | 9 | use Zend\Mvc\Controller\AbstractActionController; |
| 11 | 10 | use Zend\View\Model\ViewModel; |
| 12 | -use Zend\Validator\Date as DateValidator; |
|
| 13 | 11 | |
| 14 | 12 | /** |
| 15 | 13 | * Class BookingController |
@@ -192,7 +192,7 @@ |
||
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | - * @param $id |
|
| 195 | + * @param integer $id |
|
| 196 | 196 | * @return array |
| 197 | 197 | */ |
| 198 | 198 | public function parseIdCriteria($id) |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use JhFlexiTime\Repository\UserSettingsRepositoryInterface; |
| 6 | 6 | use JhUser\Repository\UserRepositoryInterface; |
| 7 | 7 | use Zend\Mvc\Controller\AbstractRestfulController; |
| 8 | -use Zend\Validator\Date as DateValidator; |
|
| 9 | 8 | use Zend\View\Model\JsonModel; |
| 10 | 9 | use JhFlexiTime\Service\TimeCalculatorService; |
| 11 | 10 | use JhFlexiTime\Service\BookingService; |
@@ -4,10 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use JhFlexiTime\Service\RunningBalanceService; |
| 6 | 6 | use Zend\Mvc\Controller\AbstractActionController; |
| 7 | -use Zend\Console\Request as ConsoleRequest; |
|
| 8 | -use Doctrine\Common\Persistence\ObjectManager; |
|
| 9 | 7 | use JhUser\Repository\UserRepositoryInterface; |
| 10 | -use JhUser\Repository\RoleRepositoryInterface; |
|
| 11 | 8 | use Zend\Console\Adapter\AdapterInterface; |
| 12 | 9 | use Zend\Console\ColorInterface; |
| 13 | 10 | |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use JhFlexiTime\Service\MissingBookingReminderService; |
| 6 | 6 | use Zend\Mvc\Controller\AbstractActionController; |
| 7 | -use Zend\Console\Request as ConsoleRequest; |
|
| 8 | -use Doctrine\Common\Persistence\ObjectManager; |
|
| 9 | 7 | use Zend\Console\Adapter\AdapterInterface; |
| 10 | 8 | use Zend\Console\ColorInterface; |
| 11 | 9 | |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | - * @return string |
|
| 175 | + * @return integer |
|
| 176 | 176 | */ |
| 177 | 177 | public function getTotal() |
| 178 | 178 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use DoctrineModule\Stdlib\Hydrator\DoctrineObject as DoctrineHydrator; |
| 6 | 6 | use JhFlexiTime\Entity\Booking; |
| 7 | 7 | use Zend\Form\Fieldset; |
| 8 | -use Zend\InputFilter\InputFilterProviderInterface; |
|
| 9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
| 10 | 9 | use ZfcUser\Entity\UserInterface; |
| 11 | 10 | |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @param ServiceLocatorInterface $serviceLocator |
| 21 | - * @return BalanceService |
|
| 21 | + * @return BookingInputFilter |
|
| 22 | 22 | */ |
| 23 | 23 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 24 | 24 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace JhFlexiTime; |
| 4 | 4 | |
| 5 | -use Symfony\Component\Config\Definition\Exception\Exception; |
|
| 6 | 5 | use Zend\ModuleManager\Feature\ConfigProviderInterface; |
| 7 | 6 | use Zend\ModuleManager\Feature\AutoloaderProviderInterface; |
| 8 | 7 | use Zend\EventManager\EventInterface; |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | protected $maxEndTime = false; |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @return bool|string |
|
| 36 | + * @return false|string |
|
| 37 | 37 | */ |
| 38 | 38 | public function getMinStartTime() |
| 39 | 39 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | - * @return bool|string |
|
| 44 | + * @return false|string |
|
| 45 | 45 | */ |
| 46 | 46 | public function getMaxStartTime() |
| 47 | 47 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @return bool|string |
|
| 52 | + * @return false|string |
|
| 53 | 53 | */ |
| 54 | 54 | public function getMinEndTime() |
| 55 | 55 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * @return bool|string |
|
| 60 | + * @return false|string |
|
| 61 | 61 | */ |
| 62 | 62 | public function getMaxEndTime() |
| 63 | 63 | { |