File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ public function __construct(Notion $notion)
3434    }
3535
3636    /** 
37-      * Resolve User 
38-      *   
37+      * Resolve User.  
38+      * 
3939     * @param  User  $user 
4040     * @return User 
4141     * 
@@ -48,26 +48,26 @@ public function user(User $user): User
4848    }
4949
5050    /** 
51-      * Resolve Parent of an entity 
52-      *   
51+      * Resolve Parent of an entity.  
52+      * 
5353     * @param  Entity  $entity 
5454     * @return Page|Database|Block 
55-      *   
55+      * 
5656     * @throws HandlingException 
5757     * @throws NotionException 
5858     */ 
5959    public  function  parentOf (Entity   $ entity )
6060    {
61-         if  (!in_array (HasParent::class, class_uses_recursive (get_class ($ entity )))) {
61+         if  (!  in_array (HasParent::class, class_uses_recursive (get_class ($ entity )))) {
6262            throw  new  HandlingException ("The given entity ' {$ entity ->getObjectType ()}' does not have a parent. " );
6363        }
6464
6565        return  $ this  ->parent ($ entity ->getParent ());
6666    }
6767
6868    /** 
69-      * Resolve Parent 
70-      *   
69+      * Resolve Parent.  
70+      * 
7171     * @param  NotionParent  $parent 
7272     * @return Page|Database|Block 
7373     * 
@@ -91,8 +91,8 @@ public function parent(NotionParent $parent): Page|Database|Block
9191    }
9292
9393    /** 
94-      * Resolve Relations 
95-      *   
94+      * Resolve Relations.  
95+      * 
9696     * @param  Relation  $relation 
9797     * @return Collection<Page> 
9898     * 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments