File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,8 @@ public function v1(): Notion
107
107
*
108
108
* @param string $token
109
109
* @return Notion
110
- * @deprecated for public usage; will be set to private in 0.4.0!
111
110
*/
112
- public function setToken (string $ token ): Notion
111
+ private function setToken (string $ token ): Notion
113
112
{
114
113
$ this ->token = $ token ;
115
114
return $ this ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ class NotionTest extends NotionApiTest
13
13
public function it_returns_notion_instance_with_set_token_and_connection ()
14
14
{
15
15
$ notion = new Notion ('secret_* ' );
16
- $ notion ->v1 ()->setToken ('secret_* ' );
17
16
18
17
$ this ->assertInstanceOf (Notion::class, $ notion );
19
18
$ this ->assertNotEmpty ($ notion ->getConnection ());
You can’t perform that action at this time.
0 commit comments