We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61fe18b commit 2856710Copy full SHA for 2856710
lib/Github/Api/GitData/References.php
@@ -36,7 +36,9 @@ public function all($username, $repository)
36
*/
37
public function matching(string $username, string $repository, string $reference): array
38
{
39
- return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/git/matching-refs/'.rawurlencode($reference));
+ $reference = $this->encodeReference($reference);
40
+
41
+ return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/git/matching-refs/'.$reference);
42
}
43
44
/**
0 commit comments