File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Model/Validator/Attribute
Test/Unit/Model/Validator/Attribute Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class Data extends \Magento\Framework\Validator\AbstractValidator
5555
5656 /**
5757 * @param AttributeDataFactory $attrDataFactory
58- * @param Config $eavConfig|null
58+ * @param Config|null $eavConfig
5959 * @param array $ignoredAttributesByTypesList
6060 */
6161 public function __construct (
Original file line number Diff line number Diff line change @@ -225,7 +225,8 @@ public function testIsValidAttributesFromCollection(): void
225225 ->getMock ();
226226 $ entityType ->expects ($ this ->atMost (2 ))->method ('getEntityTypeCode ' )->willReturn ($ entityTypeCode );
227227 $ entityType ->expects ($ this ->once ())->method ('getAttributeCollection ' )->willReturn ($ collection );
228- $ this ->eavConfigMock ->expects ($ this ->once ())->method ('getEntityType ' )->with ($ entityTypeCode )->willReturn ($ entityType );
228+ $ this ->eavConfigMock ->expects ($ this ->once ())->method ('getEntityType ' )
229+ ->with ($ entityTypeCode )->willReturn ($ entityType );
229230 $ entity = $ this ->_getEntityMock ();
230231 $ entity ->expects ($ this ->once ())->method ('getResource ' )->willReturn ($ resource );
231232 $ entity ->expects ($ this ->once ())->method ('getEntityType ' )->willReturn ($ entityType );
You can’t perform that action at this time.
0 commit comments