@@ -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 |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * |
143 | 143 | * @param OptionsResolver $resolver |
144 | 144 | */ |
145 | - public function configureOptions(OptionsResolver $resolver){} |
|
145 | + public function configureOptions(OptionsResolver $resolver) {} |
|
146 | 146 | /** |
147 | 147 | * @return array |
148 | 148 | */ |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | { |
183 | 183 | $t = []; |
184 | 184 | foreach ($this->getDataIterator($context) as $item) { |
185 | - $formatted = $this->formatter->formatRow($item, $this, $context); |
|
185 | + $formatted = $this->formatter->formatRow($item, $this, $context); |
|
186 | 186 | $t[] = $formatted; |
187 | 187 | } |
188 | 188 | |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | */ |
222 | 222 | public function getFilterForm() |
223 | 223 | { |
224 | - if (null===$this->filterForm) { |
|
224 | + if (null === $this->filterForm) { |
|
225 | 225 | $this->filterForm = $this->buildFilterForm( |
226 | 226 | $this->formFactory->createNamedBuilder($this->getTableId().'_filter') |
227 | 227 | ->add('dofilter', 'button') |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | */ |
254 | 254 | public function getColumns($context = self::VIEW_CONTEXT) |
255 | 255 | { |
256 | - if(!array_key_exists($context, $this->columns)) { |
|
256 | + if (!array_key_exists($context, $this->columns)) { |
|
257 | 257 | $this->initColumnsDefinitions($context); |
258 | 258 | } |
259 | 259 | return $this->columns[$context]; |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | $this->buildColumns($builder, $context); |
269 | 269 | |
270 | 270 | $this->columns[$context] = $builder->getColumns(); |
271 | - $this->columnsInitialized[$context] = true; |
|
271 | + $this->columnsInitialized[$context] = true; |
|
272 | 272 | } |
273 | 273 | /** |
274 | 274 | * Sets the table identifier |