@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | abstract class AbstractTable |
| 19 | 19 | { |
| 20 | - const VIEW_CONTEXT = 'view'; |
|
| 20 | + const VIEW_CONTEXT = 'view'; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @var Router |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * |
| 141 | 141 | * @param OptionsResolver $resolver |
| 142 | 142 | */ |
| 143 | - public function configureOptions(OptionsResolver $resolver){} |
|
| 143 | + public function configureOptions(OptionsResolver $resolver) {} |
|
| 144 | 144 | /** |
| 145 | 145 | * @return array |
| 146 | 146 | */ |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | { |
| 181 | 181 | $t = []; |
| 182 | 182 | foreach ($this->getDataIterator() as $item) { |
| 183 | - $formatted = $this->formatter->formatRow($item, $this, $context); |
|
| 183 | + $formatted = $this->formatter->formatRow($item, $this, $context); |
|
| 184 | 184 | $t[] = $formatted; |
| 185 | 185 | } |
| 186 | 186 | |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | */ |
| 220 | 220 | public function getFilterForm() |
| 221 | 221 | { |
| 222 | - if (null===$this->filterForm) { |
|
| 222 | + if (null === $this->filterForm) { |
|
| 223 | 223 | $this->filterForm = $this->buildFilterForm( |
| 224 | 224 | $this->formFactory->createNamedBuilder($this->getTableId().'_filter') |
| 225 | 225 | ->add('dofilter', 'button') |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | */ |
| 272 | 272 | public function getColumns($context = self::VIEW_CONTEXT) |
| 273 | 273 | { |
| 274 | - if(!array_key_exists($context, $this->columns)) { |
|
| 274 | + if (!array_key_exists($context, $this->columns)) { |
|
| 275 | 275 | $this->initColumnsDefinitions($context); |
| 276 | 276 | } |
| 277 | 277 | return $this->columns[$context]; |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | $this->buildColumns($builder, $context); |
| 287 | 287 | |
| 288 | 288 | $this->columns[$context] = $builder->getColumns(); |
| 289 | - $this->columnsInitialized[$context] = true; |
|
| 289 | + $this->columnsInitialized[$context] = true; |
|
| 290 | 290 | } |
| 291 | 291 | /** |
| 292 | 292 | * Sets the table identifier |