@@ -8,7 +8,6 @@ |
||
8 | 8 | */ |
9 | 9 | use Drupal\Component\Utility\UrlHelper; |
10 | 10 | use \Drupal\Core\Form\FormStateInterface; |
11 | -use Drupal\Core\StreamWrapper\PublicStream; |
|
12 | 11 | use Drupal\crop\Entity\Crop; |
13 | 12 | use Drupal\image\Entity\ImageStyle; |
14 | 13 | use \Drupal\media_entity\MediaBundleInterface; |
@@ -165,8 +165,7 @@ |
||
165 | 165 | // Append either with a ? or a & if there are existing query arguments. |
166 | 166 | if (strpos($uri, '?') === FALSE) { |
167 | 167 | $uri .= '?h=' . $shortened_hash; |
168 | - } |
|
169 | - else { |
|
168 | + } else { |
|
170 | 169 | $uri .= '&h=' . $shortened_hash; |
171 | 170 | } |
172 | 171 | } |