| 1 | <?php |
||
| 3 | class Evernote |
||
|
|
|||
| 4 | { |
||
| 5 | /** @var string */ |
||
| 6 | protected $token; |
||
| 7 | |||
| 8 | /** @var boolean */ |
||
| 9 | protected $sandbox; |
||
| 10 | |||
| 11 | /** @var boolean */ |
||
| 12 | protected $china; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | protected $key; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | protected $secret; |
||
| 19 | |||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string|null $token |
||
| 23 | */ |
||
| 24 | public function __construct($token = null) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return null|string |
||
| 45 | */ |
||
| 46 | public function Authorize() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | private function getCallbackUrl() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param $token |
||
| 74 | * @return array |
||
| 75 | */ |
||
| 76 | public function notebookList($token) |
||
| 85 | |||
| 86 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.