Skip to content

Commit

Permalink
Merge pull request #2 from hhxsv5/master
Browse files Browse the repository at this point in the history
Fixed namespace bug
  • Loading branch information
purekid authored Jan 8, 2019
2 parents 9605945 + 85617e0 commit 8ab4b25
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# PHP SDK for KuCoin API
> The detailed document address [https://docs.kucoin.com](https://docs.kucoin.com).
> The detailed document [https://docs.kucoin.com](https://docs.kucoin.com).
## Requirements

Expand All @@ -13,8 +13,7 @@
> Install package via [Composer](https://getcomposer.org/).
```shell
# TODO: Hide key & secret and then publish this package to github & packagist.
composer require "kucoin/kucoin-php-sdk"
composer require "kucoin/kucoin-php-sdk:~1.0.0"
```

## Usage
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"api",
"sdk"
],
"homepage": "https://github.com/kucoin/kucoin-php-sdk",
"homepage": "https://github.com/Kucoin/kucoin-php-sdk",
"support": {
"source": "https://github.com/kucoin/kucoin-php-sdk",
"issues": "https://github.com/kucoin/kucoin-php-sdk/issues"
"source": "https://github.com/Kucoin/kucoin-php-sdk",
"issues": "https://github.com/Kucoin/kucoin-php-sdk/issues"
},
"authors": [
{
Expand Down
1 change: 0 additions & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use KuCoin\SDK\Http\IHttp;
use KuCoin\SDK\Http\Request;
use KuCoin\SDK\Http\Response;
use KuCoin\SDK\PrivateApi\IAuth;

abstract class Api
{
Expand Down
2 changes: 0 additions & 2 deletions src/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace KuCoin\SDK;

use KuCoin\SDK\PrivateApi\IAuth;

class Auth implements IAuth
{
private $key;
Expand Down
2 changes: 1 addition & 1 deletion src/IAuth.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace KuCoin\SDK\PrivateApi;
namespace KuCoin\SDK;

interface IAuth
{
Expand Down

0 comments on commit 8ab4b25

Please sign in to comment.