Skip to content

Commit 926a8ad

Browse files
committed
Fixed static tests
1 parent fea3cf8 commit 926a8ad

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/internal/Magento/Framework/DB/AbstractMapper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,8 @@ protected function getConditionFieldName($fieldName)
395395
* Hook for operations before rendering filters
396396
*
397397
* @return void
398-
* phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
399398
*/
400-
protected function renderFiltersBefore()
399+
protected function renderFiltersBefore() //phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
401400
{
402401
}
403402

lib/internal/Magento/Framework/Model/AbstractModel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ public function __construct(
189189
$this->_logger = $context->getLogger();
190190
$this->_actionValidator = $context->getActionValidator();
191191

192-
if (
193-
$this->_resource !== null
192+
if ($this->_resource !== null
194193
&& (method_exists($this->_resource, 'getIdFieldName') || ($this->_resource instanceof DataObject))
195194
) {
196195
$this->_idFieldName = $this->_getResource()->getIdFieldName();

0 commit comments

Comments
 (0)