Daniel Lopes
Daniel Lopes
**Describe the bug** Simple error at documentation. Must be `$pageCollection` instead `$pagesCollection` ``` $pageCollection = Notion::database($databaseId)->query(); $collectionOfPages = $pageCollection->asCollection(); $jsonOfPages = $pagesCollection->asJson(); //here ``` **To Reproduce** [Open page documentation](https://notionforlaravel.com/docs/v1.1.0/notion-databases/query-database)
This PR is an attempt to fix [this issue](https://github.com/pestphp/pest/issues/1379), because I believe it should be fixed here rather than in the Pest repository. What do y'll think about it?