Skip to content

Commit

Permalink
fix invalid optional arguments coming before required ones
Browse files Browse the repository at this point in the history
  • Loading branch information
nkissebe committed Feb 2, 2025
1 parent 86a8a1a commit 5f0f7b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/components/com_projects/helpers/connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ public function getRemoteItems($service = 'google', $uid = 0, $since = '', $conn
* @param string $path
* @return bool
*/
public function getFolderStructure($service = 'google', $uid = 0, &$remoteFolders, $path = '')
public function getFolderStructure($service, $uid, &$remoteFolders, $path = '')
{
// Get api
$apiService = $this->getAPI($service, $uid);
Expand Down
2 changes: 1 addition & 1 deletion core/components/com_projects/helpers/remote/google.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ public static function createFolder($apiService, $title, $parentId, &$metadata)
* @param array $connections Array of local-remote connections
* @return mixed int (new change ID) or false
*/
public static function collectChanges($apiService, $folderID = 0, &$remotes, &$deletes, $path = '', $startChangeId = null, $connections = array())
public static function collectChanges($apiService, $folderID, &$remotes, &$deletes, $path = '', $startChangeId = null, $connections = array())
{
// Check for what we need
if (!$apiService || !$folderID)
Expand Down

0 comments on commit 5f0f7b8

Please sign in to comment.