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
107107 *
108108 * @param string $token
109109 * @return Notion
110- * @deprecated for public usage; will be set to private in 0.4.0!
111110 */
112- public function setToken (string $ token ): Notion
111+ private function setToken (string $ token ): Notion
113112 {
114113 $ this ->token = $ token ;
115114 return $ this ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ class NotionTest extends NotionApiTest
1313 public function it_returns_notion_instance_with_set_token_and_connection ()
1414 {
1515 $ notion = new Notion ('secret_* ' );
16- $ notion ->v1 ()->setToken ('secret_* ' );
1716
1817 $ this ->assertInstanceOf (Notion::class, $ notion );
1918 $ this ->assertNotEmpty ($ notion ->getConnection ());
You can’t perform that action at this time.
0 commit comments