Skip to content

Commit c82aa4f

Browse files
author
Allan Paiste
committed
fixes to code styling
1 parent 2e5de1d commit c82aa4f

File tree

1 file changed

+5
-1
lines changed
  • app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend

1 file changed

+5
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/ImageTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,15 @@ public function testBeforeSaveShouldSetAttributeValueToBlankWhenImageValueRequir
9595

9696
public function invalidValueProvider()
9797
{
98+
$closure = function () {
99+
return false;
100+
};
101+
98102
return [
99103
[1234],
100104
[true],
101105
[new \stdClass()],
102-
[function() {}],
106+
[$closure],
103107
[['a' => 1, 'b' => 2]]
104108
];
105109
}

0 commit comments

Comments
 (0)