@@ -45,6 +45,6 @@ |
||
45 | 45 | */ |
46 | 46 | public function getViewPartial() |
47 | 47 | { |
48 | - return $this->partial; |
|
48 | + return $this->partial; |
|
49 | 49 | } |
50 | 50 | } |
@@ -158,8 +158,8 @@ |
||
158 | 158 | if ($mimetypes) { |
159 | 159 | $mimeTypeValidator = new MimeType(); |
160 | 160 | $mimeTypeValidator->setMagicFile(false) |
161 | - ->disableMagicFile(true) |
|
162 | - ->setMimeType($this->getAllowedTypes()); |
|
161 | + ->disableMagicFile(true) |
|
162 | + ->setMimeType($this->getAllowedTypes()); |
|
163 | 163 | |
164 | 164 | $validators[] = $mimeTypeValidator; |
165 | 165 | } |
@@ -93,8 +93,8 @@ |
||
93 | 93 | // Create a file with the class/file map. |
94 | 94 | // Stupid syntax highlighters make separating < from PHP declaration necessary |
95 | 95 | $content = '<' . "?php\n" |
96 | - . "\n" |
|
97 | - . 'return ' . var_export($config, true) . ';'; |
|
96 | + . "\n" |
|
97 | + . 'return ' . var_export($config, true) . ';'; |
|
98 | 98 | |
99 | 99 | // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op |
100 | 100 | $content = str_replace("\\'", "'", $content); |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | public function init() |
26 | 26 | { |
27 | 27 | $this->setIsDisableCapable(false) |
28 | - ->setIsDisableElementsCapable(false) |
|
29 | - ->setAttribute('data-submit-on', 'checkbox'); |
|
28 | + ->setIsDisableElementsCapable(false) |
|
29 | + ->setAttribute('data-submit-on', 'checkbox'); |
|
30 | 30 | |
31 | 31 | $this->add( |
32 | 32 | array( |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | 'route' => 'lang/content', |
55 | 55 | 'params' => array( |
56 | 56 | 'view' => 'applications-privacy-policy' |
57 | - ) |
|
57 | + ) |
|
58 | 58 | ), |
59 | 59 | 'attributes' => array( |
60 | 60 | 'data-validate' => 'acceptedPrivacyPolicy', |
@@ -34,7 +34,7 @@ |
||
34 | 34 | public function init() |
35 | 35 | { |
36 | 36 | $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator()) |
37 | - ->setName('base'); |
|
37 | + ->setName('base'); |
|
38 | 38 | |
39 | 39 | $this->add( |
40 | 40 | array( |
@@ -20,7 +20,7 @@ |
||
20 | 20 | public function init() |
21 | 21 | { |
22 | 22 | $this->setName('carboncopy') |
23 | - ->setLabel('Options'); |
|
23 | + ->setLabel('Options'); |
|
24 | 24 | |
25 | 25 | $this->add( |
26 | 26 | array( |
@@ -51,14 +51,14 @@ |
||
51 | 51 | $fileId = new \MongoId($file->id); |
52 | 52 | |
53 | 53 | $dm->createQueryBuilder('Applications\Entity\Application') |
54 | - ->update()->multiple(true) |
|
55 | - ->field('attachments')->equals($fileId)->pull($fileId) |
|
56 | - ->getQuery()->execute(); |
|
54 | + ->update()->multiple(true) |
|
55 | + ->field('attachments')->equals($fileId)->pull($fileId) |
|
56 | + ->getQuery()->execute(); |
|
57 | 57 | |
58 | 58 | |
59 | 59 | $dm->createQueryBuilder('Applications\Entity\Application') |
60 | - ->update()->multiple(true) |
|
61 | - ->field('contact.image')->equals($fileId)->set(null) |
|
62 | - ->getQuery()->execute(); |
|
60 | + ->update()->multiple(true) |
|
61 | + ->field('contact.image')->equals($fileId)->set(null) |
|
62 | + ->getQuery()->execute(); |
|
63 | 63 | } |
64 | 64 | } |
@@ -137,8 +137,8 @@ |
||
137 | 137 | $application->changeStatus( |
138 | 138 | Status::REJECTED, |
139 | 139 | sprintf( |
140 | - /*@translate */ 'Mail was sent to %s', |
|
141 | - $application->contact->email |
|
140 | + /*@translate */ 'Mail was sent to %s', |
|
141 | + $application->contact->email |
|
142 | 142 | ) |
143 | 143 | ); |
144 | 144 | $repositoryService->store($application); |
@@ -37,8 +37,8 @@ |
||
37 | 37 | $headscript->appendFile($basepath('Settings/js/forms.decfs.js')); |
38 | 38 | |
39 | 39 | return '<ul class="disable-elements-list" id="' . $element->getAttribute('id') . '-list"' . '>' |
40 | - . $this->renderCheckboxes($element->getCheckboxes()) |
|
41 | - . '</ul>'; |
|
40 | + . $this->renderCheckboxes($element->getCheckboxes()) |
|
41 | + . '</ul>'; |
|
42 | 42 | |
43 | 43 | } |
44 | 44 |