Completed
Push — 8.x-1.x ( e8a96d...427045 )
by Alexandre
01:48
created
src/CropTypeListBuilder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,8 +113,7 @@
 block discarded – undo
113 113
         '@second' => $usage[1],
114 114
         '@count' => count($other_image_styles),
115 115
       ]);
116
-    }
117
-    else {
116
+    } else {
118 117
       $usage_message = implode(', ', $usage);
119 118
     }
120 119
     $row['usage']['data']['#markup'] = $usage_message;
Please login to merge, or discard this patch.
src/Form/CropTypeForm.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,8 +173,7 @@
 block discarded – undo
173 173
 
174 174
     if ($status == SAVED_UPDATED) {
175 175
       drupal_set_message($this->t('The crop type %name has been updated.', $t_args));
176
-    }
177
-    elseif ($status == SAVED_NEW) {
176
+    } elseif ($status == SAVED_NEW) {
178 177
       drupal_set_message($this->t('The crop type %name has been added.', $t_args));
179 178
       $context = array_merge($t_args, array('link' => Link::createFromRoute($this->t('View'), 'crop.overview_types')->toString()));
180 179
       $this->logger('crop')->notice('Added crop type %name.', $context);
Please login to merge, or discard this patch.
crop.module 1 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.