@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | abstract class AbstractTable |
| 20 | 20 | { |
| 21 | - const VIEW_CONTEXT = 'view'; |
|
| 21 | + const VIEW_CONTEXT = 'view'; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * @var Router |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * |
| 144 | 144 | * @param OptionsResolver $resolver |
| 145 | 145 | */ |
| 146 | - public function configureOptions(OptionsResolver $resolver){} |
|
| 146 | + public function configureOptions(OptionsResolver $resolver) {} |
|
| 147 | 147 | /** |
| 148 | 148 | * @return array |
| 149 | 149 | */ |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | { |
| 184 | 184 | $t = []; |
| 185 | 185 | foreach ($this->getDataIterator($context) as $item) { |
| 186 | - $formatted = $this->formatter->formatRow($item, $this, $context); |
|
| 186 | + $formatted = $this->formatter->formatRow($item, $this, $context); |
|
| 187 | 187 | $t[] = $formatted; |
| 188 | 188 | } |
| 189 | 189 | |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | */ |
| 223 | 223 | public function getFilterForm() |
| 224 | 224 | { |
| 225 | - if (null===$this->filterForm) { |
|
| 225 | + if (null === $this->filterForm) { |
|
| 226 | 226 | $this->filterForm = $this->buildFilterForm( |
| 227 | 227 | $this->formFactory->createNamedBuilder($this->getTableId().'_filter') |
| 228 | 228 | ->add('dofilter', ButtonType::class) |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | */ |
| 255 | 255 | public function getColumns($context = self::VIEW_CONTEXT) |
| 256 | 256 | { |
| 257 | - if(!array_key_exists($context, $this->columns)) { |
|
| 257 | + if (!array_key_exists($context, $this->columns)) { |
|
| 258 | 258 | $this->initColumnsDefinitions($context); |
| 259 | 259 | } |
| 260 | 260 | return $this->columns[$context]; |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | $this->buildColumns($builder, $context); |
| 270 | 270 | |
| 271 | 271 | $this->columns[$context] = $builder->getColumns(); |
| 272 | - $this->columnsInitialized[$context] = true; |
|
| 272 | + $this->columnsInitialized[$context] = true; |
|
| 273 | 273 | } |
| 274 | 274 | /** |
| 275 | 275 | * Sets the table identifier |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | trait UsesContainerTrait |
| 10 | 10 | {
|
| 11 | - protected function compileContainer(ContainerBuilder $container, $loadExt=true) |
|
| 11 | + protected function compileContainer(ContainerBuilder $container, $loadExt = true) |
|
| 12 | 12 | {
|
| 13 | 13 | if ($loadExt) {
|
| 14 | 14 | $extension = new CrossKnowledgeDataTableExtension(); |