@@ -40,15 +40,15 @@ |
||
40 | 40 | LoggerInterface $logger, |
41 | 41 | FetchStrategyInterface $fetchStrategy, |
42 | 42 | ManagerInterface $eventManager, |
43 | - AdapterInterface $connection = null, |
|
44 | - AbstractDb $resource = null, |
|
43 | + AdapterInterface $connection=null, |
|
44 | + AbstractDb $resource=null, |
|
45 | 45 | string $idFieldName, |
46 | 46 | string $model, |
47 | 47 | string $resourceModel |
48 | 48 | ) { |
49 | - $this->_idFieldName = $idFieldName; |
|
50 | - $this->_model = $model; |
|
51 | - $this->_resourceModel = $resourceModel; |
|
49 | + $this->_idFieldName=$idFieldName; |
|
50 | + $this->_model=$model; |
|
51 | + $this->_resourceModel=$resourceModel; |
|
52 | 52 | parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource); |
53 | 53 | } |
54 | 54 |
@@ -31,12 +31,12 @@ |
||
31 | 31 | */ |
32 | 32 | public function __construct( |
33 | 33 | ParentContext $context, |
34 | - $connectionName = null, |
|
34 | + $connectionName=null, |
|
35 | 35 | string $tableName, |
36 | 36 | string $referenceId |
37 | 37 | ) { |
38 | - $this->tableName = $tableName; |
|
39 | - $this->referenceId = $referenceId; |
|
38 | + $this->tableName=$tableName; |
|
39 | + $this->referenceId=$referenceId; |
|
40 | 40 | parent::__construct($context, $connectionName); |
41 | 41 | } |
42 | 42 |
@@ -38,14 +38,14 @@ discard block |
||
38 | 38 | public function __construct( |
39 | 39 | Context $context, |
40 | 40 | Registry $registry, |
41 | - AbstractResource $resource = null, |
|
42 | - AbstractDb $resourceCollection = null, |
|
41 | + AbstractResource $resource=null, |
|
42 | + AbstractDb $resourceCollection=null, |
|
43 | 43 | string $resourceModelClass, |
44 | 44 | string $cacheTag, |
45 | - array $data = [] |
|
45 | + array $data=[] |
|
46 | 46 | ) { |
47 | - $this->resourceModelClass = $resourceModelClass; |
|
48 | - $this->cacheTag = $cacheTag; |
|
47 | + $this->resourceModelClass=$resourceModelClass; |
|
48 | + $this->cacheTag=$cacheTag; |
|
49 | 49 | parent::__construct($context, $registry, $resource, $resourceCollection, $data); |
50 | 50 | } |
51 | 51 | |
@@ -56,6 +56,6 @@ discard block |
||
56 | 56 | |
57 | 57 | public function getIdentities() |
58 | 58 | { |
59 | - return [$this->cacheTag . '_' . $this->getId()]; |
|
59 | + return [$this->cacheTag.'_'.$this->getId()]; |
|
60 | 60 | } |
61 | 61 | } |