Skip to content
Snippets Groups Projects
Commit b63d19ba authored by catch's avatar catch
Browse files

Issue #3165350 by shetpooja04, quietone: Unused variable $key in image module,...

Issue #3165350 by shetpooja04, quietone: Unused variable $key in image module, MigrateImageCacheTest.php
parent 050b91b7
No related merge requests found
...@@ -152,7 +152,7 @@ public function testInvalidCropValues() { ...@@ -152,7 +152,7 @@ public function testInvalidCropValues() {
*/ */
protected function assertImageEffect($collection, $id, $config) { protected function assertImageEffect($collection, $id, $config) {
/** @var \Drupal\image\ConfigurableImageEffectBase $effect */ /** @var \Drupal\image\ConfigurableImageEffectBase $effect */
foreach ($collection as $key => $effect) { foreach ($collection as $effect) {
$effect_config = $effect->getConfiguration(); $effect_config = $effect->getConfiguration();
if ($effect_config['id'] == $id && $effect_config['data'] == $config) { if ($effect_config['id'] == $id && $effect_config['data'] == $config) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment