@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | /** |
| 266 | 266 | * Get disabled |
| 267 | 267 | * |
| 268 | - * @return boolean |
|
| 268 | + * @return integer |
|
| 269 | 269 | */ |
| 270 | 270 | public function getDisabled() |
| 271 | 271 | { |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | /** |
| 312 | 312 | * Get used |
| 313 | 313 | * |
| 314 | - * @return boolean |
|
| 314 | + * @return integer |
|
| 315 | 315 | */ |
| 316 | 316 | public function getUsed() |
| 317 | 317 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $configuration = new Configuration(); |
| 23 | 23 | $config = $this->processConfiguration($configuration, $configs); |
| 24 | 24 | |
| 25 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 25 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | 26 | $loader->load('services.yml'); |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | ->getOneOrNullResult(); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - public function getNewTasks($maxResult=10) |
|
| 29 | + public function getNewTasks($maxResult = 10) |
|
| 30 | 30 | { |
| 31 | 31 | return $this->createQueryBuilder('ct') |
| 32 | 32 | ->where('ct.firstRun <= :currentDate') |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | try { |
| 54 | 54 | $crontasks = $this->em->getRepository('TMSolutionCronBundle:CronTask')->getNewTasks(20); |
| 55 | 55 | |
| 56 | - foreach($crontasks as $crontask) { |
|
| 56 | + foreach ($crontasks as $crontask) { |
|
| 57 | 57 | if ($crontask) { |
| 58 | 58 | |
| 59 | 59 | |