@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | $rights[] = 'autoconfirmed'; |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | - $rightsPaths = array_map(function ($right) { |
|
| 132 | + $rightsPaths = array_map(function($right) { |
|
| 133 | 133 | return "Group-$right-member"; |
| 134 | 134 | }, $rights); |
| 135 | 135 | |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | FROM $revisionTable |
| 238 | 238 | WHERE rev_user = :userId |
| 239 | 239 | AND rev_timestamp >= $acDate |
| 240 | - LIMIT 1 OFFSET ".($edits - 1); |
|
| 240 | + LIMIT 1 OFFSET ".($edits-1); |
|
| 241 | 241 | |
| 242 | 242 | $ret = $this->executeProjectsQuery($sql, [ |
| 243 | 243 | 'userId' => $user->getId($project), |
@@ -199,7 +199,7 @@ |
||
| 199 | 199 | |
| 200 | 200 | $this->localizedRightsNames = $this->getRepository() |
| 201 | 201 | ->getRightsNames($this->project, $rightsToCheck, $this->i18n->getLang()); |
| 202 | - dump( $this->localizedRightsNames ); |
|
| 202 | + dump($this->localizedRightsNames); |
|
| 203 | 203 | |
| 204 | 204 | return $this->localizedRightsNames; |
| 205 | 205 | } |