Browse Source

Alter wrong doc-block

In the doc-block of the "imageHeight"-function the headline and the parameter where declared as "width" instead of "height".
Tobse 5 years ago
parent
commit
8c6f6c5884
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Validation/Validation.php

+ 2 - 2
src/Validation/Validation.php

@@ -1542,11 +1542,11 @@ class Validation
     }
 
     /**
-     * Validates the image width.
+     * Validates the image height.
      *
      * @param array $file The uploaded file data from PHP.
      * @param string $operator Comparison operator.
-     * @param int $height Min or max width.
+     * @param int $height Min or max height.
      * @return bool
      */
     public static function imageHeight($file, $operator, $height)