Update jQuery from 1.12.4 to 3.7.1
[phorkie.git] / src / phorkie / Repository / LinkbackReceiver.php
index c808f4587352c9a8c8d7e1f444d14a9842c687af..1bb466433a1fe49450072d0511c048a28f7b5091 100644 (file)
@@ -46,7 +46,8 @@ class Repository_LinkbackReceiver
         $remoteCloneUrl = $remoteTitle = null;
         if (count($arRemoteCloneUrls)) {
             reset($arRemoteCloneUrls);
-            list($remoteCloneUrl, $remoteTitle) = each($arRemoteCloneUrls);
+            $remoteCloneUrl = key($arRemoteCloneUrls);
+            $remoteTitle    = current($arRemoteCloneUrls);
         }
         $remoteid = 'fork-' . uniqid();
         //check if we already know this remote