@@ -173,7 +173,7 @@ |
||
| 173 | 173 | ); |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | - return $result; |
|
| 176 | + return $result; |
|
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | $table->set_header(0, '', false); |
@@ -628,7 +628,7 @@ |
||
| 628 | 628 | |
| 629 | 629 | foreach ($user_data as $key => $value) { |
| 630 | 630 | if (substr($key, 0, 6) === 'extra_') { //an extra field |
| 631 | - continue; |
|
| 631 | + continue; |
|
| 632 | 632 | } elseif (strpos($key, 'remove_extra_') !== false) { |
| 633 | 633 | } else { |
| 634 | 634 | if (in_array($key, $available_values_to_modify)) { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | if (!empty($glossary_data['update_date'])) { |
| 134 | 134 | $glossary_data['update_date'] = Display::dateToStringAgoAndLongDate($glossary_data['update_date']); |
| 135 | 135 | } else { |
| 136 | - $glossary_data['update_date'] = ''; |
|
| 136 | + $glossary_data['update_date'] = ''; |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | $form->addLabel(get_lang('CreationDate'), $glossary_data['insert_date']); |
@@ -26,10 +26,10 @@ |
||
| 26 | 26 | class UserRepository extends EntityRepository |
| 27 | 27 | { |
| 28 | 28 | /** |
| 29 | - * @param string $keyword |
|
| 29 | + * @param string $keyword |
|
| 30 | 30 | * |
| 31 | - * @return mixed |
|
| 32 | - */ |
|
| 31 | + * @return mixed |
|
| 32 | + */ |
|
| 33 | 33 | public function searchUserByKeyword($keyword) |
| 34 | 34 | { |
| 35 | 35 | $qb = $this->createQueryBuilder('a'); |
@@ -1891,11 +1891,11 @@ discard block |
||
| 1891 | 1891 | return $this->locale; |
| 1892 | 1892 | } |
| 1893 | 1893 | |
| 1894 | - /** |
|
| 1895 | - * @param string $timezone |
|
| 1896 | - * |
|
| 1897 | - * @return User |
|
| 1898 | - */ |
|
| 1894 | + /** |
|
| 1895 | + * @param string $timezone |
|
| 1896 | + * |
|
| 1897 | + * @return User |
|
| 1898 | + */ |
|
| 1899 | 1899 | public function setTimezone($timezone) |
| 1900 | 1900 | { |
| 1901 | 1901 | $this->timezone = $timezone; |
@@ -2073,11 +2073,11 @@ discard block |
||
| 2073 | 2073 | } |
| 2074 | 2074 | } |
| 2075 | 2075 | |
| 2076 | - /** |
|
| 2077 | - * Returns the user roles |
|
| 2078 | - * |
|
| 2079 | - * @return array The roles |
|
| 2080 | - */ |
|
| 2076 | + /** |
|
| 2077 | + * Returns the user roles |
|
| 2078 | + * |
|
| 2079 | + * @return array The roles |
|
| 2080 | + */ |
|
| 2081 | 2081 | public function getRoles() |
| 2082 | 2082 | { |
| 2083 | 2083 | $roles = $this->roles; |
@@ -173,7 +173,7 @@ |
||
| 173 | 173 | ); |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | - return $result; |
|
| 176 | + return $result; |
|
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | $table->set_header(0, '', false); |
@@ -26,10 +26,10 @@ |
||
| 26 | 26 | class UserRepository extends EntityRepository |
| 27 | 27 | { |
| 28 | 28 | /** |
| 29 | - * @param string $keyword |
|
| 29 | + * @param string $keyword |
|
| 30 | 30 | * |
| 31 | - * @return mixed |
|
| 32 | - */ |
|
| 31 | + * @return mixed |
|
| 32 | + */ |
|
| 33 | 33 | public function searchUserByKeyword($keyword) |
| 34 | 34 | { |
| 35 | 35 | $qb = $this->createQueryBuilder('a'); |
@@ -29,9 +29,9 @@ discard block |
||
| 29 | 29 | $this->setType('float'); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * @param string $value |
|
| 34 | - */ |
|
| 32 | + /** |
|
| 33 | + * @param string $value |
|
| 34 | + */ |
|
| 35 | 35 | public function setValue($value) |
| 36 | 36 | { |
| 37 | 37 | $value = api_float_val($value); |
@@ -47,10 +47,10 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public function getValue() |
| 49 | 49 | { |
| 50 | - $value = $this->getAttribute('value'); |
|
| 51 | - $value = api_float_val($value); |
|
| 50 | + $value = $this->getAttribute('value'); |
|
| 51 | + $value = api_float_val($value); |
|
| 52 | 52 | |
| 53 | - return $value; |
|
| 53 | + return $value; |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
@@ -105,8 +105,8 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | if (isset($_POST['language'])) { |
| 107 | 107 | |
| 108 | - $form->addElement('static', Security::remove_XSS($_POST['language'])); |
|
| 109 | - $form->addElement('hidden', 'language', Security::remove_XSS($_POST['language'])); |
|
| 108 | + $form->addElement('static', Security::remove_XSS($_POST['language'])); |
|
| 109 | + $form->addElement('hidden', 'language', Security::remove_XSS($_POST['language'])); |
|
| 110 | 110 | $form->addHtmlEditor( |
| 111 | 111 | 'content', |
| 112 | 112 | get_lang('Content'), |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | |
| 139 | 139 | } else { |
| 140 | 140 | $form->addSelectLanguage('language', get_lang('Language'), null, array()); |
| 141 | - $form->addButtonSearch(get_lang('Load'), 'send'); |
|
| 141 | + $form->addButtonSearch(get_lang('Load'), 'send'); |
|
| 142 | 142 | |
| 143 | 143 | } |
| 144 | 144 | |