@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | 'quote/all.html.twig', |
| 117 | 117 | [ |
| 118 | 118 | 'base_dir' => realpath( |
| 119 | - $this->getParameter('kernel.root_dir') . '/..' |
|
| 119 | + $this->getParameter('kernel.root_dir').'/..' |
|
| 120 | 120 | ), |
| 121 | 121 | 'xtPage' => 'bash', |
| 122 | 122 | 'quotes' => $quotes, |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | 'quote/view.html.twig', |
| 163 | 163 | [ |
| 164 | 164 | 'base_dir' => realpath( |
| 165 | - $this->getParameter('kernel.root_dir') . '/..' |
|
| 165 | + $this->getParameter('kernel.root_dir').'/..' |
|
| 166 | 166 | ), |
| 167 | 167 | "xtPage" => "bash", |
| 168 | 168 | "text" => $text, |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | |
| 220 | 220 | // Number the quotes, since they somehow have significance. |
| 221 | 221 | foreach ($quotes as $index => $quote) { |
| 222 | - $numberedQuotes[(string)$index + 1] = $quote; |
|
| 222 | + $numberedQuotes[(string)$index+1] = $quote; |
|
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | return new JsonResponse($numberedQuotes, Response::HTTP_OK); |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | $ret = [ |
| 136 | - 'xtTitle' => $this->user->getUsername() . ' - ' . $this->project->getTitle(), |
|
| 136 | + 'xtTitle' => $this->user->getUsername().' - '.$this->project->getTitle(), |
|
| 137 | 137 | 'xtPage' => 'editcounter', |
| 138 | 138 | 'user' => $this->user, |
| 139 | 139 | 'project' => $this->project, |