From ccc07e9ce32cfd4804e43e52fb91338c1bf9aca7 Mon Sep 17 00:00:00 2001 From: "aaronkirkham07@gmail.com" Date: Sat, 30 Sep 2017 01:55:37 +0100 Subject: [PATCH] sprintf consistency --- Puc/v4p2/Vcs/GitLabApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Puc/v4p2/Vcs/GitLabApi.php b/Puc/v4p2/Vcs/GitLabApi.php index be3de09..c3feb4e 100644 --- a/Puc/v4p2/Vcs/GitLabApi.php +++ b/Puc/v4p2/Vcs/GitLabApi.php @@ -179,7 +179,7 @@ if ( ! class_exists( 'Puc_v4p2_Vcs_GitLabApi', false ) ) : } $url = substr( $url, 3 ); - $url = sprintf( 'https://%s/api/v4/projects/%s', $this->repositoryHost, $url ); + $url = sprintf( 'https://%1$s/api/v4/projects/%2$s', $this->repositoryHost, $url ); if ( $this->accessToken ) { $queryParams['private_token'] = $this->accessToken;