Passed
Push — master ( 6b1186...4e3ada )
by Roeland
14:13 queued 02:56
created
apps/admin_audit/lib/Actions/UserManagement.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 	public function assign(string $uid) {
59 59
 		$this->log(
60 60
 		'UserID assigned: "%s"',
61
-			[ 'uid' => $uid ],
62
-			[ 'uid' ]
61
+			['uid' => $uid],
62
+			['uid']
63 63
 		);
64 64
 	}
65 65
 
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
 	public function unassign(string $uid) {
87 87
 		$this->log(
88 88
 			'UserID unassigned: "%s"',
89
-			[ 'uid' => $uid ],
90
-			[ 'uid' ]
89
+			['uid' => $uid],
90
+			['uid']
91 91
 		);
92 92
 	}
93 93
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 * @param array $params
98 98
 	 */
99 99
 	public function change(array $params) {
100
-		switch($params['feature']) {
100
+		switch ($params['feature']) {
101 101
 			case 'enabled':
102 102
 				$this->log(
103 103
 					$params['value'] === true
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 	 * @param IUser $user
128 128
 	 */
129 129
 	public function setPassword(IUser $user) {
130
-		if($user->getBackendClassName() === 'Database') {
130
+		if ($user->getBackendClassName() === 'Database') {
131 131
 			$this->log(
132 132
 				'Password of user "%s" has been changed',
133 133
 				[
Please login to merge, or discard this patch.