Skip to content

Commit b6becea

Browse files
Fixed snippets typos
1 parent 6b87856 commit b6becea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Api/Snippets.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace Bitbucket\Api;
1515

16-
use Bitbucket\Api\Snippets\Workspaces as SnippetsUsers;
16+
use Bitbucket\Api\Snippets\Workspaces as SnippetsWorkspaces;
1717
use Bitbucket\HttpClient\Message\FileResource;
1818
use Http\Message\MultipartStream\MultipartStreamBuilder;
1919

@@ -55,13 +55,13 @@ public function create(FileResource $file)
5555
}
5656

5757
/**
58-
* @param string $username
58+
* @param string $workspace
5959
*
6060
* @return \Bitbucket\Api\Snippets\Workspaces
6161
*/
62-
public function users(string $username)
62+
public function workspaces(string $workspace)
6363
{
64-
return new SnippetsUsers($this->getHttpClient(), $username);
64+
return new SnippetsWorkspaces($this->getHttpClient(), $workspace);
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)