@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | |
124 | 124 | if (!$app->offsetExists('twig')) { |
125 | 125 | $app->register(new \Silex\Provider\TwigServiceProvider()); |
126 | - $app['twig.loader.filesystem']->addPath(__DIR__ . '/../views/', 'crud'); |
|
126 | + $app['twig.loader.filesystem']->addPath(__DIR__.'/../views/', 'crud'); |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | $app['translator']->addLoader('yaml', new YamlFileLoader()); |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | |
146 | 146 | $localeLabels = array(); |
147 | 147 | foreach ($locales as $locale) { |
148 | - if (array_key_exists('label_' . $locale, $crud)) { |
|
148 | + if (array_key_exists('label_'.$locale, $crud)) { |
|
149 | 149 | $localeLabels[$locale] = $crud['label_'.$locale]; |
150 | 150 | } |
151 | 151 | } |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | |
412 | 412 | // We don't want values like 0.004 converted to 0.00400000000000000008 |
413 | 413 | if ($float > 0.0001) { |
414 | - return $float . ($zeroFraction === '0' ? '.'.$zeroFraction : ''); |
|
414 | + return $float.($zeroFraction === '0' ? '.'.$zeroFraction : ''); |
|
415 | 415 | } |
416 | 416 | |
417 | 417 | // We don't want values like 0.00004 converted to its scientific notation 4.0E-5 |