@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | ]; |
| 52 | 52 | $tableColumns = []; |
| 53 | 53 | foreach ($tableFields as $key => $settings) { |
| 54 | - $column = (new Column($key, 'mysql.headers.tables.' . $key)) |
|
| 54 | + $column = (new Column($key, 'mysql.headers.tables.'.$key)) |
|
| 55 | 55 | ->setSortable(true); |
| 56 | 56 | if (isset($settings['is_numeric'])) { |
| 57 | 57 | $column->setNumeric($settings['is_numeric']); |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | ]; |
| 74 | 74 | $viewColumns = []; |
| 75 | 75 | foreach ($viewFields as $key => $settings) { |
| 76 | - $column = (new Column($key, 'mysql.headers.views.' . $key)) |
|
| 76 | + $column = (new Column($key, 'mysql.headers.views.'.$key)) |
|
| 77 | 77 | ->setSortable(true); |
| 78 | 78 | if (isset($settings['is_numeric'])) { |
| 79 | 79 | $column->setNumeric($settings['is_numeric']); |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | $col->setExternal( |
| 102 | 102 | $definition['key_info']['REFERENCED_TABLE_SCHEMA'], |
| 103 | 103 | $definition['key_info']['REFERENCED_TABLE_NAME'], |
| 104 | - function ($value) { |
|
| 104 | + function($value) { |
|
| 105 | 105 | return md5($value); |
| 106 | 106 | } |
| 107 | 107 | ); |
@@ -42,20 +42,20 @@ |
||
| 42 | 42 | { |
| 43 | 43 | $columns = []; |
| 44 | 44 | if ($type == RabbitMQDriver::TYPE_QUEUE) { |
| 45 | - $columns[] = (new Column('message_body', 'rabbitmq.columns.' . $type . '.message_body')) |
|
| 45 | + $columns[] = (new Column('message_body', 'rabbitmq.columns.'.$type.'.message_body')) |
|
| 46 | 46 | ->setSortable(true) |
| 47 | 47 | ->setFilterable(true); |
| 48 | - $columns[] = (new Column('length', 'rabbitmq.columns.' . $type . '.length')) |
|
| 48 | + $columns[] = (new Column('length', 'rabbitmq.columns.'.$type.'.length')) |
|
| 49 | 49 | ->setNumeric(true) |
| 50 | 50 | ->setSortable(true) |
| 51 | 51 | ->setFilterable(true); |
| 52 | - $columns[] = (new Column('is_truncated', 'rabbitmq.columns.' . $type . '.is_truncated')) |
|
| 52 | + $columns[] = (new Column('is_truncated', 'rabbitmq.columns.'.$type.'.is_truncated')) |
|
| 53 | 53 | ->setSortable(true) |
| 54 | 54 | ->setFilterable(true); |
| 55 | - $columns[] = (new Column('content_encoding', 'rabbitmq.columns.' . $type . '.content_encoding')) |
|
| 55 | + $columns[] = (new Column('content_encoding', 'rabbitmq.columns.'.$type.'.content_encoding')) |
|
| 56 | 56 | ->setSortable(true) |
| 57 | 57 | ->setFilterable(true); |
| 58 | - $columns[] = (new Column('redelivered', 'rabbitmq.columns.' . $type . '.redelivered')) |
|
| 58 | + $columns[] = (new Column('redelivered', 'rabbitmq.columns.'.$type.'.redelivered')) |
|
| 59 | 59 | ->setSortable(true) |
| 60 | 60 | ->setFilterable(true); |
| 61 | 61 | } |
@@ -55,20 +55,20 @@ |
||
| 55 | 55 | { |
| 56 | 56 | $columns = []; |
| 57 | 57 | if ($type == RedisDriver::TYPE_KEY || $type == RedisDriver::TYPE_HASH) { |
| 58 | - $columns[] = (new Column('key', 'redis.columns.' . $type . '.key')) |
|
| 58 | + $columns[] = (new Column('key', 'redis.columns.'.$type.'.key')) |
|
| 59 | 59 | ->setSortable(true) |
| 60 | 60 | ->setFilterable(true); |
| 61 | - $columns[] = (new Column('length', 'redis.columns.' . $type . '.length')) |
|
| 61 | + $columns[] = (new Column('length', 'redis.columns.'.$type.'.length')) |
|
| 62 | 62 | ->setSortable(true) |
| 63 | 63 | ->setFilterable(true); |
| 64 | - $columns[] = (new Column('value', 'redis.columns.' . $type . '.value')) |
|
| 64 | + $columns[] = (new Column('value', 'redis.columns.'.$type.'.value')) |
|
| 65 | 65 | ->setSortable(true) |
| 66 | 66 | ->setFilterable(true); |
| 67 | 67 | } elseif ($type == RedisDriver::TYPE_SET) { |
| 68 | - $columns[] = (new Column('member', 'redis.columns.' . $type . '.member')) |
|
| 68 | + $columns[] = (new Column('member', 'redis.columns.'.$type.'.member')) |
|
| 69 | 69 | ->setSortable(true) |
| 70 | 70 | ->setFilterable(true); |
| 71 | - $columns[] = (new Column('length', 'redis.columns.' . $type . '.length')) |
|
| 71 | + $columns[] = (new Column('length', 'redis.columns.'.$type.'.length')) |
|
| 72 | 72 | ->setSortable(true) |
| 73 | 73 | ->setFilterable(true); |
| 74 | 74 | } |