@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | $where = ['public_url' => $publicUrl]; |
23 | 23 | if (null !== $mode) { |
24 | - $where['mode']= $mode; |
|
24 | + $where['mode'] = $mode; |
|
25 | 25 | } |
26 | 26 | return $this->findOneBy($where, ['id' => 'ASC']); |
27 | 27 | } |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | { |
34 | 34 | $where = ['internal_url' => $internalUrl]; |
35 | 35 | if (null !== $mode) { |
36 | - $where['mode']= $mode; |
|
36 | + $where['mode'] = $mode; |
|
37 | 37 | } |
38 | 38 | return $this->findOneBy($where, ['id' => 'ASC']); |
39 | 39 | } |
@@ -50,7 +50,7 @@ |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | return array_map( |
53 | - function ($url) { |
|
53 | + function($url) { |
|
54 | 54 | return ['value' => $url['public_url']]; |
55 | 55 | }, |
56 | 56 | $urls->getArrayCopy() |
@@ -61,7 +61,7 @@ |
||
61 | 61 | public function buildView(FormView $view, FormInterface $form, array $options) |
62 | 62 | { |
63 | 63 | parent::buildView($view, $form, $options); |
64 | - $aliases = $this->getUrlAliases($options['record']); |
|
64 | + $aliases = $this->getUrlAliases($options['record']); |
|
65 | 65 | $view->vars['record'] = $options['record']; |
66 | 66 | $view->vars['url_aliases'] = $aliases; |
67 | 67 | $view->vars['url_aliases_grouped'] = $this->groupByMode($aliases); |
@@ -62,6 +62,6 @@ |
||
62 | 62 | */ |
63 | 63 | public function url($object, array $options = array(), $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH) |
64 | 64 | { |
65 | - return $this->router->getContext()->getBaseUrl() . '/' . ltrim($this->refs[$object], '/'); |
|
65 | + return $this->router->getContext()->getBaseUrl().'/'.ltrim($this->refs[$object], '/'); |
|
66 | 66 | } |
67 | 67 | } |