@@ -90,7 +90,7 @@ |
||
| 90 | 90 | { |
| 91 | 91 | $content = file_get_contents($this->configFileName); |
| 92 | 92 | |
| 93 | - $this->config = (array)json_decode($content, true); |
|
| 93 | + $this->config = (array) json_decode($content, true); |
|
| 94 | 94 | if (json_last_error()!=JSON_ERROR_NONE) |
| 95 | 95 | { |
| 96 | 96 | throw new RuntimeException("Error decoding JSON: '%s'.", json_last_error_msg()); |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | $dataTableColumns = TableColumnsMetadata::combine($this->additionalAuditColumns, $dataTableColumns); |
| 124 | 124 | |
| 125 | 125 | // In the audit table columns coming from the data table don't have defaults. |
| 126 | - foreach($auditTableColumns->getColumns() as $column) |
|
| 126 | + foreach ($auditTableColumns->getColumns() as $column) |
|
| 127 | 127 | { |
| 128 | 128 | if (!in_array($column->getName(), $this->additionalAuditColumns->getColumnNames())) |
| 129 | 129 | { |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | $tableColumns, |
| 91 | 91 | $skipVariable, |
| 92 | 92 | $additionSql); |
| 93 | - $sql = $helper->buildStatement(); |
|
| 93 | + $sql = $helper->buildStatement(); |
|
| 94 | 94 | |
| 95 | 95 | static::executeNone($sql); |
| 96 | 96 | } |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | $columns = array_keys($this->columns); |
| 152 | 152 | $key = array_search($columnName, $columns); |
| 153 | 153 | |
| 154 | - if ($key>=1) |
|
| 154 | + if ($key >= 1) |
|
| 155 | 155 | { |
| 156 | 156 | return $columns[$key - 1]; |
| 157 | 157 | } |