@@ -12,7 +12,7 @@ discard block  | 
                                                    ||
| 12 | 12 |  { | 
                                                        
| 13 | 13 | /**  | 
                                                        
| 14 | 14 | * @param string $name  | 
                                                        
| 15 | - * @param array|null $bucketsPath  | 
                                                        |
| 15 | + * @param null|string $bucketsPath  | 
                                                        |
| 16 | 16 | * @param string|null $script  | 
                                                        
| 17 | 17 | */  | 
                                                        
| 18 | 18 | public function __construct(string $name, string $bucketsPath = null, string $script = null)  | 
                                                        
@@ -31,7 +31,7 @@ discard block  | 
                                                    ||
| 31 | 31 | /**  | 
                                                        
| 32 | 32 | * Set the buckets_path for this aggregation.  | 
                                                        
| 33 | 33 | *  | 
                                                        
| 34 | - * @param array $bucketsPath  | 
                                                        |
| 34 | + * @param string $bucketsPath  | 
                                                        |
| 35 | 35 | *  | 
                                                        
| 36 | 36 | * @return $this  | 
                                                        
| 37 | 37 | */  |