Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
35 | public function validateDimensions($attribute, $value, $parameters) |
||
36 | { |
||
37 | if($this->refersToExistingAsset($value)) { |
||
38 | return $this->validateAssetDimensions($this->existingAsset($value), $parameters); |
||
39 | } |
||
40 | |||
41 | return parent::validateDimensions($attribute, $value, $parameters); |
||
42 | } |
||
44 |