Skip to content

Commit

Permalink
TASK: Add array type hint to appendDefaultDimensionPresetUriSegments()
Browse files Browse the repository at this point in the history
  • Loading branch information
kdambekalns authored May 2, 2017
1 parent ded2804 commit fc3f59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/MOC/NotFound/ViewHelpers/RequestViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected function appendFirstUriPartIfValidDimension(&$path) {
* @param string $path
* @return void
*/
protected function appendDefaultDimensionPresetUriSegments($dimensionPresets, &$path) {
protected function appendDefaultDimensionPresetUriSegments(array $dimensionPresets, &$path) {
$defaultDimensionPresetUriSegments = [];
foreach ($dimensionPresets as $dimensionName => $dimensionPreset) {
$defaultDimensionPresetUriSegments[] = $dimensionPreset['presets'][$dimensionPreset['defaultPreset']]['uriSegment'];
Expand Down

0 comments on commit fc3f59f

Please sign in to comment.