Completed
Push — 8.x-1.x ( e8a96d...427045 )
by Alexandre
01:48
created
crop.module 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,8 +165,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.