@@ -72,7 +72,7 @@ |
||
| 72 | 72 | * @param array $filters defined filters |
| 73 | 73 | * @param string $data data to parse |
| 74 | 74 | * |
| 75 | - * @return mixed |
|
| 75 | + * @return null|string |
|
| 76 | 76 | * @throws Exception |
| 77 | 77 | */ |
| 78 | 78 | public function applyFilters($action, $isPre = true, array $filters = [], $data = null) |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | /** @noinspection DegradedSwitchInspection */ |
| 148 | 148 | switch ($val['type']) { |
| 149 | 149 | case 'raw': |
| 150 | - $buffer .= eval('$data = $this->data; return ' . $val['value']); |
|
| 150 | + $buffer .= eval('$data = $this->data; return '.$val['value']); |
|
| 151 | 151 | break; |
| 152 | 152 | |
| 153 | 153 | default: |