@@ -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 | ); |
@@ -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, |
@@ -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 | ); |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | $excluded_columns = isset($options['excluded_columns']) |
| 243 | 243 | ? $options['excluded_columns'] |
| 244 | 244 | : [] |
| 245 | - ; |
|
| 245 | + ; |
|
| 246 | 246 | |
| 247 | 247 | foreach ($row as $column => &$values) { |
| 248 | 248 | if ( ! $values instanceof MergeBucket) |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | $excluded_columns = isset($options['excluded_columns']) |
| 276 | 276 | ? $options['excluded_columns'] |
| 277 | 277 | : [] |
| 278 | - ; |
|
| 278 | + ; |
|
| 279 | 279 | |
| 280 | 280 | foreach ($row as $column => &$values) { |
| 281 | 281 | if (in_array($column, $excluded_columns)) |
@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | elseif (is_object($value)) { |
| 372 | 372 | if ( ! method_exists($value, 'toNumber')) { |
| 373 | 373 | throw new \InvalidArgumentEXception( |
| 374 | - "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
| 374 | + "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
| 375 | 375 | ."Please add a toNumber() method." |
| 376 | 376 | ); |
| 377 | 377 | } |
@@ -555,12 +555,12 @@ discard block |
||
| 555 | 555 | $key_value_separator = ! empty($options['key_value_separator']) |
| 556 | 556 | ? $options['key_value_separator'] |
| 557 | 557 | : ':' |
| 558 | - ; |
|
| 558 | + ; |
|
| 559 | 559 | |
| 560 | 560 | $groups_separator = ! empty($options['groups_separator']) |
| 561 | 561 | ? $options['groups_separator'] |
| 562 | 562 | : '-' |
| 563 | - ; |
|
| 563 | + ; |
|
| 564 | 564 | |
| 565 | 565 | $group_parts = []; |
| 566 | 566 | foreach ($groups_definitions as $group_definition_key => $group_definition_value) { |
@@ -618,8 +618,8 @@ discard block |
||
| 618 | 618 | foreach ($group_parts as $group_name => $group_value) { |
| 619 | 619 | if (is_object($group_value)) { |
| 620 | 620 | $group_value = get_class($group_value) |
| 621 | - . '_' |
|
| 622 | - . hash( 'crc32b', var_export($group_value, true) ); |
|
| 621 | + . '_' |
|
| 622 | + . hash( 'crc32b', var_export($group_value, true) ); |
|
| 623 | 623 | } |
| 624 | 624 | elseif (is_array($group_value)) { |
| 625 | 625 | $group_value = 'array_' . hash( 'crc32b', var_export($group_value, true) ); |