@@ -34,7 +34,7 @@ |
||
| 34 | 34 | foreach ($column_names as $column_name) { |
| 35 | 35 | if (!array_key_exists($column_name, $row)) { |
| 36 | 36 | self::throwUsageException( |
| 37 | - "Trying to extract a column from a row which" |
|
| 37 | + "Trying to extract a column from a row which" |
|
| 38 | 38 | ." doesn't contain it : '$column_name' \n" |
| 39 | 39 | .var_export($row, true) |
| 40 | 40 | ); |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | }, |
| 61 | 61 | formatted_values: [ ] |
| 62 | 62 | } |
| 63 | - * |
|
| 63 | + * |
|
| 64 | 64 | => |
| 65 | 65 | * action_calculate_paid_impressions: { |
| 66 | 66 | values: [ ], |
@@ -69,9 +69,9 @@ discard block |
||
| 69 | 69 | }, |
| 70 | 70 | formatted_values: [ ] |
| 71 | 71 | } |
| 72 | - * |
|
| 73 | - * |
|
| 74 | - *data: [ |
|
| 72 | + * |
|
| 73 | + * |
|
| 74 | + *data: [ |
|
| 75 | 75 | { |
| 76 | 76 | paidImpressions: { |
| 77 | 77 | value: 246367, |
@@ -553,7 +553,7 @@ |
||
| 553 | 553 | foreach ($rowIdParts as $name => $value) { |
| 554 | 554 | if (isset($data[$name]) && $data[$name] !== $value) { |
| 555 | 555 | self::throwUsageException( |
| 556 | - "Trying to populate a column '$name' that " |
|
| 556 | + "Trying to populate a column '$name' that " |
|
| 557 | 557 | ."already exists with a different value " |
| 558 | 558 | .var_export($data[$name], true). " => '$value'" |
| 559 | 559 | ); |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | $excluded_columns = isset($options['excluded_columns']) |
| 109 | 109 | ? $options['excluded_columns'] |
| 110 | 110 | : [] |
| 111 | - ; |
|
| 111 | + ; |
|
| 112 | 112 | |
| 113 | 113 | foreach ($row as $column => &$values) { |
| 114 | 114 | if (in_array($column, $excluded_columns)) { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | $excluded_columns = isset($options['excluded_columns']) |
| 137 | 137 | ? $options['excluded_columns'] |
| 138 | 138 | : [] |
| 139 | - ; |
|
| 139 | + ; |
|
| 140 | 140 | |
| 141 | 141 | foreach ($row as $column => &$values) { |
| 142 | 142 | if ( ! $values instanceof MergeBucket) |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | elseif (is_object($value)) { |
| 118 | 118 | if ( ! method_exists($value, 'toNumber')) { |
| 119 | 119 | throw new \InvalidArgumentEXception( |
| 120 | - "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
| 120 | + "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
| 121 | 121 | ."Please add a toNumber() method." |
| 122 | 122 | ); |
| 123 | 123 | } |
@@ -301,12 +301,12 @@ discard block |
||
| 301 | 301 | $key_value_separator = ! empty($options['key_value_separator']) |
| 302 | 302 | ? $options['key_value_separator'] |
| 303 | 303 | : ':' |
| 304 | - ; |
|
| 304 | + ; |
|
| 305 | 305 | |
| 306 | 306 | $groups_separator = ! empty($options['groups_separator']) |
| 307 | 307 | ? $options['groups_separator'] |
| 308 | 308 | : '-' |
| 309 | - ; |
|
| 309 | + ; |
|
| 310 | 310 | |
| 311 | 311 | $group_parts = []; |
| 312 | 312 | foreach ($groups_definitions as $group_definition_key => $group_definition_value) { |
@@ -382,8 +382,8 @@ discard block |
||
| 382 | 382 | foreach ($group_parts as $group_name => $group_value) { |
| 383 | 383 | if (is_object($group_value)) { |
| 384 | 384 | $group_value = get_class($group_value) |
| 385 | - . '_' |
|
| 386 | - . hash( 'crc32b', var_export($group_value, true) ); |
|
| 385 | + . '_' |
|
| 386 | + . hash( 'crc32b', var_export($group_value, true) ); |
|
| 387 | 387 | } |
| 388 | 388 | elseif (is_array($group_value)) { |
| 389 | 389 | $group_value = 'array_' . hash( 'crc32b', var_export($group_value, true) ); |