File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 33namespace FiveamCode \LaravelNotionApi \Endpoints ;
44
55use FiveamCode \LaravelNotionApi \Entities \Blocks \Block ;
6- use FiveamCode \LaravelNotionApi \Entities \Collections \CommentCollection ;
7- use FiveamCode \LaravelNotionApi \Entities \Comment ;
86use FiveamCode \LaravelNotionApi \Entities \Database ;
97use FiveamCode \LaravelNotionApi \Entities \NotionParent ;
108use FiveamCode \LaravelNotionApi \Entities \Page ;
11- use FiveamCode \LaravelNotionApi \Entities \Properties \Relation ;
129use FiveamCode \LaravelNotionApi \Entities \User ;
1310use FiveamCode \LaravelNotionApi \Exceptions \HandlingException ;
1411use FiveamCode \LaravelNotionApi \Exceptions \NotionException ;
@@ -34,8 +31,8 @@ public function __construct(Notion $notion)
3431
3532 /**
3633 * @param User $user
37- *
3834 * @return User
35+ *
3936 * @throws HandlingException
4037 * @throws NotionException
4138 */
@@ -46,8 +43,8 @@ public function user(User $user): User
4643
4744 /**
4845 * @param NotionParent $parent
49- *
5046 * @return Page|Database|Block
47+ *
5148 * @throws HandlingException
5249 * @throws NotionException
5350 */
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ public function getConnection(): ?PendingRequest
227227 */
228228 public function checkValidVersion (string $ version ): void
229229 {
230- if (!$ this ->validVersions ->contains ($ version )) {
230+ if (! $ this ->validVersions ->contains ($ version )) {
231231 throw HandlingException::instance ('Invalid version for Notion-API endpoint ' , ['invalidVersion ' => $ version ]);
232232 }
233233 }
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function getParent()
6363 {
6464 return new NotionParent ([
6565 'id ' => $ this ->getParentId (),
66- 'object ' => $ this ->getParentType ()
66+ 'object ' => $ this ->getParentType (),
6767 ]);
6868 }
6969}
You can’t perform that action at this time.
0 commit comments