Completed
Pull Request — master (#21)
by Michal
02:30
created
app/bootstrap_live.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     ini_set('display_errors', 1);
11 11
 }
12 12
 
13
-require __DIR__ . '/../vendor/autoload.php';
13
+require __DIR__.'/../vendor/autoload.php';
14 14
 
15 15
 umask(0);
16 16
 
@@ -18,23 +18,23 @@  discard block
 block discarded – undo
18 18
 
19 19
 $configurator->setDebugMode(false);
20 20
 
21
-$tempDir = sys_get_temp_dir() . '/uniman/temp';
21
+$tempDir = sys_get_temp_dir().'/uniman/temp';
22 22
 if (!file_exists($tempDir)) {
23 23
     mkdir($tempDir, 0777, true);
24 24
 }
25 25
 $configurator->setTempDirectory($tempDir);
26 26
 
27
-$configurator->addConfig(__DIR__ . '/config/config.neon');
27
+$configurator->addConfig(__DIR__.'/config/config.neon');
28 28
 $container = $configurator->createContainer();
29 29
 
30
-Form::extensionMethod('addDatePicker', function (Form $form, $name, $label, $maxLength = null) {
30
+Form::extensionMethod('addDatePicker', function(Form $form, $name, $label, $maxLength = null) {
31 31
     $datePicker = new TbDatePicker($label, $maxLength);
32 32
     $datePicker->setFormat('Y-m-d');
33 33
     $datePicker->setAttribute('class', 'datepicker');
34 34
     return $form[$name] = $datePicker;
35 35
 });
36 36
 
37
-Form::extensionMethod('addDateTimePicker', function (Form $form, $name, $label, $maxLength = null) {
37
+Form::extensionMethod('addDateTimePicker', function(Form $form, $name, $label, $maxLength = null) {
38 38
     $dateTimePicker = new TbDateTimePicker($label, $maxLength);
39 39
     $dateTimePicker->setFormat('Y-m-d H:i:s');
40 40
     $dateTimePicker->setAttribute('class', 'datetimepicker');
Please login to merge, or discard this patch.