@@ -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); |
@@ -61,6 +61,6 @@ |
||
61 | 61 | */ |
62 | 62 | public function url($object, array $options = []) |
63 | 63 | { |
64 | - return $this->router->getContext()->getBaseUrl() . '/' . ltrim($this->refs[$object], '/'); |
|
64 | + return $this->router->getContext()->getBaseUrl().'/'.ltrim($this->refs[$object], '/'); |
|
65 | 65 | } |
66 | 66 | } |
@@ -110,7 +110,7 @@ |
||
110 | 110 | if (!$multiple) { |
111 | 111 | if (!is_scalar($value)) { |
112 | 112 | throw new \InvalidArgumentException( |
113 | - 'Invalid argument $value to with(), expected scalar, got ' . gettype($value) |
|
113 | + 'Invalid argument $value to with(), expected scalar, got '.gettype($value) |
|
114 | 114 | ); |
115 | 115 | } |
116 | 116 | if ($ret->contains($key, $value)) { |
@@ -43,11 +43,11 @@ |
||
43 | 43 | } |
44 | 44 | } |
45 | 45 | if (!is_string($subject)) { |
46 | - throw new \InvalidArgumentException('Expected a string or object as subject, got ' . gettype($subject)); |
|
46 | + throw new \InvalidArgumentException('Expected a string or object as subject, got '.gettype($subject)); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | if ($alias = $this->toAlias($subject)) { |
50 | - return $this->basePath . $alias; |
|
50 | + return $this->basePath.$alias; |
|
51 | 51 | } |
52 | 52 | return null; |
53 | 53 | } |
@@ -22,10 +22,10 @@ |
||
22 | 22 | $treeBuilder = new TreeBuilder(); |
23 | 23 | $rootNode = $treeBuilder->root('zicht_url'); |
24 | 24 | |
25 | - $isBool = function ($v) { |
|
25 | + $isBool = function($v) { |
|
26 | 26 | return is_bool($v); |
27 | 27 | }; |
28 | - $convertToEnabledKey = function ($v) { |
|
28 | + $convertToEnabledKey = function($v) { |
|
29 | 29 | return ['enabled' => $v]; |
30 | 30 | }; |
31 | 31 |
@@ -15,4 +15,4 @@ |
||
15 | 15 | } |
16 | 16 | } |
17 | 17 | |
18 | -var_dump($o);exit; |
|
19 | 18 | \ No newline at end of file |
19 | +var_dump($o); exit; |
|
20 | 20 | \ No newline at end of file |