File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,16 +84,16 @@ public function manageData($data, $action)
8484 */
8585 private function readData ()
8686 {
87- $ dataRetuned = $ this ->ganalyticsDataRepository ->findDataByCartIdAndShopId (
87+ $ dataReturned = $ this ->ganalyticsDataRepository ->findDataByCartIdAndShopId (
8888 $ this ->cartId ,
8989 $ this ->shopId
9090 );
9191
92- if (false === $ dataRetuned ) {
92+ if (false === $ dataReturned ) {
9393 return [];
9494 }
9595
96- return json_decode ($ dataRetuned , true );
96+ return json_decode ($ dataReturned , true );
9797 }
9898
9999 /**
@@ -105,15 +105,15 @@ private function readData()
105105 */
106106 private function appendData ($ data )
107107 {
108- $ dataRetuned = $ this ->ganalyticsDataRepository ->findDataByCartIdAndShopId (
108+ $ dataReturned = $ this ->ganalyticsDataRepository ->findDataByCartIdAndShopId (
109109 $ this ->cartId ,
110110 $ this ->shopId
111111 );
112112
113- if (false === $ dataRetuned ) {
113+ if (false === $ dataReturned ) {
114114 $ newData = [$ data ];
115115 } else {
116- $ newData = json_decode ($ dataRetuned , true );
116+ $ newData = json_decode ($ dataReturned , true );
117117 $ newData [] = $ data ;
118118 }
119119
You can’t perform that action at this time.
0 commit comments