@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @var String |
26 | 26 | */ |
27 | - protected $repositoryName="Organizations/Organization"; |
|
27 | + protected $repositoryName = "Organizations/Organization"; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Sortable fields |
@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
33 | 33 | { |
34 | - $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
34 | + $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
35 | 35 | $filter = new PaginationQuery($auth); |
36 | 36 | return $filter; |
37 | 37 | } |
@@ -260,7 +260,7 @@ |
||
260 | 260 | |
261 | 261 | foreach ($result as $id => $item) { |
262 | 262 | $organizations[$id] = $item; |
263 | - $organizationNameId = (string)$organizations[$id]['organizationName']; |
|
263 | + $organizationNameId = (string) $organizations[$id]['organizationName']; |
|
264 | 264 | $organizations[$id]['organizationName'] = $organizationNames[$organizationNameId]; |
265 | 265 | } |
266 | 266 |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $eventManager->getSharedManager()->attach( |
65 | 65 | 'Applications', |
66 | 66 | 'application.detail.actionbuttons', |
67 | - function ($event) { |
|
67 | + function($event) { |
|
68 | 68 | return 'pdf/application/details/button'; |
69 | 69 | } |
70 | 70 | ); |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | |
247 | 247 | // the handles are for temporary files |
248 | 248 | error_reporting(0); |
249 | - foreach (array(self::RENDER_FULL, self::RENDER_WITHOUT_PDF, self::RENDER_WITHOUT_ATTACHMENTS ) as $render) { |
|
249 | + foreach (array(self::RENDER_FULL, self::RENDER_WITHOUT_PDF, self::RENDER_WITHOUT_ATTACHMENTS) as $render) { |
|
250 | 250 | $handles = array(); |
251 | 251 | try { |
252 | 252 | $pdf = new extern\mPDFderive(); |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | $valid = $form->isValid(); |
80 | 80 | $partial = $services->get('viewhelpermanager')->get('partial'); |
81 | 81 | $text = $valid |
82 | - ? /*@translate*/'Changes successfully saved' |
|
82 | + ? /*@translate*/'Changes successfully saved' |
|
83 | 83 | : /*@translate*/'Changes could not be saved'; |
84 | 84 | |
85 | 85 | $vars = array(); |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | return new JsonModel($vars); |
100 | 100 | } |
101 | 101 | |
102 | - $vars['form']=$form; |
|
102 | + $vars['form'] = $form; |
|
103 | 103 | return $vars; |
104 | 104 | } |
105 | 105 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | parent::__construct(); |
24 | 24 | $this->addFilter( |
25 | 25 | 'ignoreInternalProperties', |
26 | - function ($property) { |
|
26 | + function($property) { |
|
27 | 27 | return "_" != $property{0}; |
28 | 28 | } |
29 | 29 | ); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | $this->add($fieldset); |
73 | 73 | |
74 | 74 | $this->add($this->forms->get('DefaultButtonsFieldset')); |
75 | - $this->isBuild=true; |
|
75 | + $this->isBuild = true; |
|
76 | 76 | } |
77 | 77 | |
78 | 78 |
@@ -235,7 +235,7 @@ |
||
235 | 235 | $elementName = $prefix . '[' . $element->getName() . ']'; |
236 | 236 | $options = $element->getOption('disable_capable'); |
237 | 237 | $boxOptions = array( |
238 | - 'long_label' => isset($options['label']) ? $options['label'] : ($element->getLabel() ? : $name), |
|
238 | + 'long_label' => isset($options['label']) ? $options['label'] : ($element->getLabel() ?: $name), |
|
239 | 239 | 'description' => isset($options['description']) ? $options['description'] |
240 | 240 | : 'Toggle availability of this element in the form.', |
241 | 241 | ); |
@@ -77,7 +77,7 @@ |
||
77 | 77 | ), |
78 | 78 | ); |
79 | 79 | if (is_bool($value)) { |
80 | - $input['type']= 'Checkbox'; |
|
80 | + $input['type'] = 'Checkbox'; |
|
81 | 81 | $input['attributes']['checked'] = $value; |
82 | 82 | } else { |
83 | 83 | $input['attributes']['value'] = $value; |