Completed
Push — 8.x-1.x ( d2ee20...e8a96d )
by Alexandre
02:01
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.