@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | /** |
| 221 | 221 | * Map ratio to photo ratio constants |
| 222 | 222 | * @param string $ratio |
| 223 | - * @return constant ratio |
|
| 223 | + * @return string ratio |
|
| 224 | 224 | * @throws Exception |
| 225 | 225 | */ |
| 226 | 226 | private function photoRatio($ratio) |
@@ -286,6 +286,7 @@ discard block |
||
| 286 | 286 | * Get value of array based on attributes(keys) |
| 287 | 287 | * @param supported php variables $attribute |
| 288 | 288 | * @param array $data |
| 289 | + * @param string $attribute |
|
| 289 | 290 | * @return supported php variables |
| 290 | 291 | */ |
| 291 | 292 | private function getValue($attribute, $data) |