| 
                                
                                    @@ 269-271 (lines=3) @@
                                 | 
                            
                                                            
                                    | 266 | 
                                     | 
                                            );  | 
                                
                                                            
                                    | 267 | 
                                     | 
                                     | 
                                
                                                            
                                    | 268 | 
                                     | 
                                            foreach ($boxSizes as $boxSizeKey => $boxSize) { | 
                                
                                                            
                                    | 269 | 
                                     | 
                                                if (!isset($boxSize['width']) || !is_int($boxSize['width'])) { | 
                                
                                                            
                                    | 270 | 
                                     | 
                                                    throw new InvalidArgumentException('a width in a $boxSizes value was not an int'); | 
                                
                                                            
                                    | 271 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 272 | 
                                     | 
                                     | 
                                
                                                            
                                    | 273 | 
                                     | 
                                                if (!isset($boxSize['height']) || !is_int($boxSize['height'])) { | 
                                
                                                            
                                    | 274 | 
                                     | 
                                                    throw new InvalidArgumentException('a height in a $boxSizes value was not an int'); | 
                                
                                                                                
                                 | 
                                
                                    @@ 273-275 (lines=3) @@
                                 | 
                            
                                                            
                                    | 270 | 
                                     | 
                                                    throw new InvalidArgumentException('a width in a $boxSizes value was not an int'); | 
                                
                                                            
                                    | 271 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 272 | 
                                     | 
                                     | 
                                
                                                            
                                    | 273 | 
                                     | 
                                                if (!isset($boxSize['height']) || !is_int($boxSize['height'])) { | 
                                
                                                            
                                    | 274 | 
                                     | 
                                                    throw new InvalidArgumentException('a height in a $boxSizes value was not an int'); | 
                                
                                                            
                                    | 275 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 276 | 
                                     | 
                                     | 
                                
                                                            
                                    | 277 | 
                                     | 
                                                if ($boxSize['width'] > $maxWidth || $boxSize['width'] <= 0) { | 
                                
                                                            
                                    | 278 | 
                                     | 
                                                    throw new InvalidArgumentException('a $boxSizes width was not between 0 and $options["maxWidth"]'); |