File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
lib/internal/Magento/Framework Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -395,9 +395,8 @@ protected function getConditionFieldName($fieldName)
395
395
* Hook for operations before rendering filters
396
396
*
397
397
* @return void
398
- * phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
399
398
*/
400
- protected function renderFiltersBefore ()
399
+ protected function renderFiltersBefore () //phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
401
400
{
402
401
}
403
402
Original file line number Diff line number Diff line change @@ -189,8 +189,7 @@ public function __construct(
189
189
$ this ->_logger = $ context ->getLogger ();
190
190
$ this ->_actionValidator = $ context ->getActionValidator ();
191
191
192
- if (
193
- $ this ->_resource !== null
192
+ if ($ this ->_resource !== null
194
193
&& (method_exists ($ this ->_resource , 'getIdFieldName ' ) || ($ this ->_resource instanceof DataObject))
195
194
) {
196
195
$ this ->_idFieldName = $ this ->_getResource ()->getIdFieldName ();
You can’t perform that action at this time.
0 commit comments