-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAGETWO-70138: Fixed coding standard violations in the Framework\Mode…
…l namespace #9361
- Loading branch information
Showing
5 changed files
with
68 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
lib/internal/Magento/Framework/Model/Test/Unit/ResourceModel/Db/Collection/Uut.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\Framework\Model\Test\Unit\ResourceModel\Db\Collection; | ||
|
||
use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection; | ||
|
||
/** | ||
* Pattern type: Public Morozov | ||
*/ | ||
class Uut extends AbstractCollection | ||
{ | ||
public function wereFieldsToSelectChanged() | ||
{ | ||
return $this->_fieldsToSelectChanged; | ||
} | ||
|
||
public function getFieldsToSelect() | ||
{ | ||
return $this->_fieldsToSelect; | ||
} | ||
|
||
public function setFieldsToSelect(array $fields) | ||
{ | ||
$this->_fieldsToSelect = $fields; | ||
} | ||
|
||
public function setResource($resource) | ||
{ | ||
$this->_resource = $resource; | ||
} | ||
|
||
public function getJoinedTables() | ||
{ | ||
return $this->_joinedTables; | ||
} | ||
} |