Simplify
This commit is contained in:
		
							parent
							
								
									3465d2fc64
								
							
						
					
					
						commit
						a133503256
					
				| @ -211,7 +211,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac | ||||
|      */ | ||||
|     public function toVueObject(): array | ||||
|     { | ||||
|         return Collection::make($this->toArray())->except(['id', 'external_id'])->toArray(); | ||||
|         return collect($this->toArray())->except(['id', 'external_id'])->toArray(); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lance Pioch
						Lance Pioch