@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | public function transform($array) |
21 | 21 | { |
22 | - if (!is_array($array) ) { |
|
22 | + if (!is_array($array)) { |
|
23 | 23 | throw new TransformationFailedException('Expected an array.'); |
24 | 24 | } |
25 | 25 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | $title = $this->data['midcom_services_auth_access_denied_title']; |
4 | 4 | $login_warning = $this->data['midcom_services_auth_access_denied_login_warning']; |
5 | 5 | |
6 | -midcom::get()->head->add_stylesheet(MIDCOM_STATIC_URL.'/midcom.services.auth/style.css'); |
|
6 | +midcom::get()->head->add_stylesheet(MIDCOM_STATIC_URL . '/midcom.services.auth/style.css'); |
|
7 | 7 | ?> |
8 | 8 | <!DOCTYPE html> |
9 | 9 | <html lang="<?php echo midcom::get()->i18n->get_current_language(); ?>"> |
@@ -2,7 +2,7 @@ |
||
2 | 2 | $title = $this->data['midcom_services_auth_show_login_page_title']; |
3 | 3 | $login_warning = $this->data['midcom_services_auth_show_login_page_login_warning']; |
4 | 4 | |
5 | -midcom::get()->head->add_stylesheet(MIDCOM_STATIC_URL.'/midcom.services.auth/style.css'); |
|
5 | +midcom::get()->head->add_stylesheet(MIDCOM_STATIC_URL . '/midcom.services.auth/style.css'); |
|
6 | 6 | ?> |
7 | 7 | <!DOCTYPE html> |
8 | 8 | <html lang="<?php echo midcom::get()->i18n->get_current_language(); ?>"> |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * |
36 | 36 | * @var array |
37 | 37 | */ |
38 | - var $jsevents=null; |
|
38 | + var $jsevents = null; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Whether to show field title or not. |
@@ -42,5 +42,5 @@ |
||
42 | 42 | return $document; |
43 | 43 | } |
44 | 44 | |
45 | - abstract public function prepare_document(midcom_services_indexer_document &$document, datamanager $dm); |
|
45 | + abstract public function prepare_document(midcom_services_indexer_document & $document, datamanager $dm); |
|
46 | 46 | } |
@@ -166,7 +166,7 @@ |
||
166 | 166 | } |
167 | 167 | } |
168 | 168 | // Only display the requested user as participant |
169 | - $event->participants[$data['person']->id] = true; |
|
169 | + $event->participants[$data['person']->id] = true; |
|
170 | 170 | // Always force busy in this view |
171 | 171 | $event->busy = true; |
172 | 172 | $encoder->add_event($event); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | class org_openpsa_calendar_midcom_indexer extends midcom_helper_datamanager2_indexer_client |
15 | 15 | { |
16 | - public function prepare_document(midcom_services_indexer_document &$document, midcom_helper_datamanager2_datamanager $dm) |
|
16 | + public function prepare_document(midcom_services_indexer_document & $document, midcom_helper_datamanager2_datamanager $dm) |
|
17 | 17 | { |
18 | 18 | $document->title = $dm->storage->object->get_label(); |
19 | 19 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | class org_openpsa_invoices_midcom_indexer extends midcom_helper_datamanager2_indexer_client |
15 | 15 | { |
16 | - public function prepare_document(midcom_services_indexer_document &$document, midcom_helper_datamanager2_datamanager $dm) |
|
16 | + public function prepare_document(midcom_services_indexer_document & $document, midcom_helper_datamanager2_datamanager $dm) |
|
17 | 17 | { |
18 | 18 | $document->title = $this->_l10n->get('invoice') . ' ' . $dm->storage->object->get_label(); |
19 | 19 | } |
@@ -41,5 +41,5 @@ |
||
41 | 41 | return $document; |
42 | 42 | } |
43 | 43 | |
44 | - abstract public function prepare_document(midcom_services_indexer_document &$document, midcom_helper_datamanager2_datamanager $dm); |
|
44 | + abstract public function prepare_document(midcom_services_indexer_document & $document, midcom_helper_datamanager2_datamanager $dm); |
|
45 | 45 | } |