Passed
Push — master ( ba77c3...8ac634 )
by Hector Luis
07:57
created
Entity/Resource/Collection/Base.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,15 +40,15 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Entity/Resource/Base.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,12 +31,12 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Entity/Base.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,14 +38,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.