@@ -371,7 +371,7 @@ |
||
| 371 | 371 | /** |
| 372 | 372 | * Get node |
| 373 | 373 | * |
| 374 | - * @return bool |
|
| 374 | + * @return integer |
|
| 375 | 375 | */ |
| 376 | 376 | public function getNode() |
| 377 | 377 | { |
@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace AppBundle\Controller\FieldNotes; |
| 4 | 4 | |
| 5 | 5 | use AppBundle\Controller\AbstractController; |
| 6 | -use AppBundle\Form\DataProvider\UploadFieldNotesDataProvider; |
|
| 7 | 6 | use AppBundle\Form\UploadFieldNotesType; |
| 8 | 7 | use AppBundle\Util\DateUtil; |
| 9 | -use DateTime; |
|
| 10 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 11 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 12 | 10 | |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | /** |
| 317 | 317 | * Get node |
| 318 | 318 | * |
| 319 | - * @return bool |
|
| 319 | + * @return integer |
|
| 320 | 320 | */ |
| 321 | 321 | public function getNode() |
| 322 | 322 | { |
@@ -556,7 +556,7 @@ discard block |
||
| 556 | 556 | /** |
| 557 | 557 | * Get type |
| 558 | 558 | * |
| 559 | - * @return bool |
|
| 559 | + * @return integer |
|
| 560 | 560 | */ |
| 561 | 561 | public function getType() |
| 562 | 562 | { |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | /** |
| 206 | 206 | * Get node |
| 207 | 207 | * |
| 208 | - * @return bool |
|
| 208 | + * @return integer |
|
| 209 | 209 | */ |
| 210 | 210 | public function getNode() |
| 211 | 211 | { |
@@ -445,7 +445,7 @@ discard block |
||
| 445 | 445 | /** |
| 446 | 446 | * Get needsMaintenance |
| 447 | 447 | * |
| 448 | - * @return bool |
|
| 448 | + * @return integer |
|
| 449 | 449 | */ |
| 450 | 450 | public function getNeedsMaintenance() |
| 451 | 451 | { |
@@ -469,7 +469,7 @@ discard block |
||
| 469 | 469 | /** |
| 470 | 470 | * Get listingOutdated |
| 471 | 471 | * |
| 472 | - * @return bool |
|
| 472 | + * @return integer |
|
| 473 | 473 | */ |
| 474 | 474 | public function getListingOutdated() |
| 475 | 475 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | ] |
| 55 | 55 | ); |
| 56 | 56 | |
| 57 | - $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) { |
|
| 57 | + $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) { |
|
| 58 | 58 | $data = $event->getData(); |
| 59 | 59 | $form = $event->getForm(); |
| 60 | 60 | |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); |
| 25 | 25 | $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); |
| 26 | 26 | $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); |
| 27 | - $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();; |
|
| 27 | + $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); ; |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | return $bundles; |
@@ -37,16 +37,16 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | public function getCacheDir() |
| 39 | 39 | { |
| 40 | - return dirname(__DIR__).'/var/cache/'.$this->getEnvironment(); |
|
| 40 | + return dirname(__DIR__) . '/var/cache/' . $this->getEnvironment(); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | public function getLogDir() |
| 44 | 44 | { |
| 45 | - return dirname(__DIR__).'/var/logs'; |
|
| 45 | + return dirname(__DIR__) . '/var/logs'; |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 49 | 49 | { |
| 50 | - $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); |
|
| 50 | + $loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml'); |
|
| 51 | 51 | } |
| 52 | 52 | } |