fix sync regression on php 7 Sync controller

This commit is contained in:
Jérémy Munsch 2023-08-22 18:06:28 +02:00
parent b3ac4c899d
commit be40c13ddd
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -157,7 +157,7 @@ class SyncController extends Controller
* @param mixed $userId
* @return void
*/
private function syncContacts(mixed $contacts, mixed $userId)
private function syncContacts($contacts, $userId)
{
$contacts = json_decode(json_encode($contacts), false);
foreach ($contacts as $contact) {