File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Catalog/Model
lib/internal/Magento/Framework/Model Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2160,6 +2160,7 @@ public function reset()
2160
2160
*/
2161
2161
public function getCacheIdTags ()
2162
2162
{
2163
+ // phpstan:ignore
2163
2164
$ tags = parent ::getCacheIdTags ();
2164
2165
$ affectedCategoryIds = $ this ->getAffectedCategoryIds ();
2165
2166
if (!$ affectedCategoryIds ) {
@@ -2340,6 +2341,7 @@ public function isDisabled()
2340
2341
public function getImage ()
2341
2342
{
2342
2343
$ this ->getTypeInstance ()->setImageFromChildProduct ($ this );
2344
+ // phpstan:ignore
2343
2345
return parent ::getImage ();
2344
2346
}
2345
2347
@@ -2403,6 +2405,7 @@ public function reloadPriceInfo()
2403
2405
}
2404
2406
}
2405
2407
2408
+ // phpcs:disable PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames
2406
2409
/**
2407
2410
* Return Data Object data in array format.
2408
2411
*
@@ -2411,6 +2414,7 @@ public function reloadPriceInfo()
2411
2414
*/
2412
2415
public function __toArray ()
2413
2416
{
2417
+ // phpcs:enable PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames
2414
2418
$ data = $ this ->_data ;
2415
2419
$ hasToArray = function ($ model ) {
2416
2420
return is_object ($ model ) && method_exists ($ model , '__toArray ' ) && is_callable ([$ model , '__toArray ' ]);
Original file line number Diff line number Diff line change @@ -127,8 +127,6 @@ protected function filterCustomAttributes($data)
127
127
128
128
/**
129
129
* Initialize customAttributes based on existing data
130
- *
131
- * @return $this
132
130
*/
133
131
protected function initializeCustomAttributes ()
134
132
{
You can’t perform that action at this time.
0 commit comments