@@ -106,9 +106,9 @@ public function testUpdateAttributesWithoutAttributes() {
106106 $ user = $ this ->createMock (IUser::class);
107107
108108 $ this ->config ->method ('getAppValue ' )
109- ->willReturnCallback (fn (string $ appId , string $ key , string $ default ) =>
109+ ->willReturnCallback (fn (string $ appId , string $ key , string $ default )
110110 // Unused parameters are intentionally kept for clarity
111- $ default );
111+ => $ default );
112112
113113 $ this ->userManager
114114 ->expects ($ this ->once ())
@@ -138,9 +138,9 @@ public function testUpdateAttributesWithoutValidUser() {
138138 $ this ->getMockedBuilder ();
139139
140140 $ this ->config ->method ('getAppValue ' )
141- ->willReturnCallback (fn (string $ appId , string $ key , string $ default ) =>
141+ ->willReturnCallback (fn (string $ appId , string $ key , string $ default )
142142 // Unused parameters are intentionally kept for clarity
143- $ default );
143+ => $ default );
144144
145145 $ this ->userManager
146146 ->expects ($ this ->once ())
@@ -227,9 +227,9 @@ public function testUpdateAttributesQuotaDefaultFallback() {
227227 $ attributes = ['email ' => 'new@example.com ' , 'displayname ' => 'New Displayname ' , 'quota ' => '' ];
228228
229229 $ this ->config ->method ('getAppValue ' )
230- ->willReturnCallback (fn (string $ appId , string $ key , string $ default ) =>
230+ ->willReturnCallback (fn (string $ appId , string $ key , string $ default )
231231 // Unused $appId parameter is intentionally kept for clarity
232- match ($ key ) {
232+ => match ($ key ) {
233233 'saml-attribute-mapping-email_mapping ' => 'email ' ,
234234 'saml-attribute-mapping-displayName_mapping ' => 'displayname ' ,
235235 'saml-attribute-mapping-quota_mapping ' => 'quota ' ,
0 commit comments