@@ -30,7 +30,7 @@ |
||
| 30 | 30 | public function configureOptions(OptionsResolver $resolver) |
| 31 | 31 | { |
| 32 | 32 | $resolver->setDefaults(['class' => 'App:Settings\Diverse\FamilyLog', |
| 33 | - 'query_builder' => function (EntityRepository $er) { |
|
| 33 | + 'query_builder' => function(EntityRepository $er) { |
|
| 34 | 34 | return $er->createQueryBuilder('f') |
| 35 | 35 | ->orderBy('f.path', 'ASC'); |
| 36 | 36 | } |
@@ -255,12 +255,12 @@ |
||
| 255 | 255 | $return = ''; |
| 256 | 256 | if ($this->parent !== null) { |
| 257 | 257 | if ($this->level == 2) { |
| 258 | - $return = '|-- ' . $this->name; |
|
| 258 | + $return = '|-- '.$this->name; |
|
| 259 | 259 | } elseif ($this->level == 3) { |
| 260 | - $return = '|-- |-- ' . $this->name; |
|
| 260 | + $return = '|-- |-- '.$this->name; |
|
| 261 | 261 | } |
| 262 | 262 | } else { |
| 263 | - $return = '| ' . $this->name; |
|
| 263 | + $return = '| '.$this->name; |
|
| 264 | 264 | } |
| 265 | 265 | |
| 266 | 266 | return $return; |