| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class ImageFile extends File |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Create a new image file rule instance. |
||
| 18 | * |
||
| 19 | * @return void |
||
| 20 | */ |
||
| 21 | public function __construct() |
||
| 22 | { |
||
| 23 | 2 | parent::__construct(); |
|
| 24 | |||
| 25 | 2 | $this->rules('image'); |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The dimension constraints for the uploaded file. |
||
| 30 | */ |
||
| 31 | public function dimensions(Dimensions $dimensions) |
||
| 36 | } |
||
| 37 | } |
||
| 38 |