- * @param $dimensions Array [maxWidth, maxHeight, width, height]
- * @param $expected Array [width, height] The width and height we expect to display at
+ * @param array $dim Array [maxWidth, maxHeight, width, height]
+ * @param array $expected Array [width, height] The width and height we expect to display at