@@ -36,6 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | public function getData() |
| 38 | 38 | { |
| 39 | - return $this->data; |
|
| 39 | + return $this->data; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $valueToCmp = $this->applyRules($rowData, $transformedData, $options['if'], $options); |
| 23 | 23 | $value = $this->applyRules($rowData, $transformedData, $options['value'], $options); |
| 24 | 24 | |
| 25 | - $result = $this->compare($valueToCmp, $value, $options['operation'])? $options['then'] : $options['else']; |
|
| 25 | + $result = $this->compare($valueToCmp, $value, $options['operation']) ? $options['then'] : $options['else']; |
|
| 26 | 26 | |
| 27 | 27 | return $this->applyRules($rowData, $transformedData, $result, $options); |
| 28 | 28 | } |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | public function processData(DataItemInterface $item, array &$context) |
| 42 | 42 | { |
| 43 | 43 | foreach ($this->chainProcessors as $chainProcessor) { |
| 44 | - $chainProcessor->processItem($item, 0, $context); |
|
| 44 | + $chainProcessor->processItem($item, 0, $context); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | // Nothing to process. |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | public function processStop(StopItem $item, array &$context) |
| 59 | 59 | { |
| 60 | 60 | foreach ($this->chainProcessors as $chainProcessor) { |
| 61 | - $result = $chainProcessor->processItem($item, 0, $context); |
|
| 61 | + $result = $chainProcessor->processItem($item, 0, $context); |
|
| 62 | 62 | |
| 63 | 63 | if ($result !== $item) { |
| 64 | 64 | // Return a new stop item in order to continue flushing out data with stop items. |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | |
| 99 | 99 | foreach ($variables as $variable) { |
| 100 | 100 | $data['@new'] = $newData; |
| 101 | - $variableValues[] = ['variable' => $variable, 'value' => AssociativeArray::getFromKey($data, $variable, "")]; |
|
| 101 | + $variableValues[] = ['variable' => $variable, 'value' => AssociativeArray::getFromKey($data, $variable, "")]; |
|
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | return $variableValues; |