Skip to content

Commit 71c11cb

Browse files
committed
Fix typo.
Signed-off-by: Arris Ray <arris.ray+github@gmail.com>
1 parent 9257384 commit 71c11cb

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

src/Prometheus/Storage/RedisTxn/MetricBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private function processSamples(array $sourceSamples): array
9090
// durable and unique in the sorted set in accordance with best-practice guidelines described in the article,
9191
// "Redis Best Practices: Sorted Set Time Series" [1].
9292
//
93-
// See RedixTxn::updateSummary() for the complementary part of this operation.
93+
// See RedisTxn::updateSummary() for the complementary part of this operation.
9494
//
9595
// [1] https://redis.com/redis-best-practices/time-series/sorted-set-time-series/
9696
$typedSamples = array_map(function ($sample) {

tests/Test/Benchmark/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private function getAdapter(): Adapter
168168
break;
169169
case AdapterType::REDISTXN:
170170
$config = $this->getRedisConfig();
171-
$this->adapter = new RedixTxn($config);
171+
$this->adapter = new RedisTxn($config);
172172
break;
173173
default:
174174
break;

tests/Test/Prometheus/RedisTxn/CollectorRegistryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CollectorRegistryTest extends AbstractCollectorRegistryTest
1414
{
1515
public function configureAdapter(): void
1616
{
17-
$this->adapter = new RedixTxn(['host' => REDIS_HOST]);
17+
$this->adapter = new RedisTxn(['host' => REDIS_HOST]);
1818
$this->adapter->wipeStorage();
1919
}
2020
}

tests/Test/Prometheus/RedisTxn/CounterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CounterTest extends AbstractCounterTest
1515
{
1616
public function configureAdapter(): void
1717
{
18-
$this->adapter = new RedixTxn(['host' => REDIS_HOST]);
18+
$this->adapter = new RedisTxn(['host' => REDIS_HOST]);
1919
$this->adapter->wipeStorage();
2020
}
2121
}

tests/Test/Prometheus/RedisTxn/CounterWithPrefixTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function configureAdapter(): void
2020

2121
$connection->setOption(\Redis::OPT_PREFIX, 'prefix:');
2222

23-
$this->adapter = RedixTxn::fromExistingConnection($connection);
23+
$this->adapter = RedisTxn::fromExistingConnection($connection);
2424
$this->adapter->wipeStorage();
2525
}
2626
}

tests/Test/Prometheus/RedisTxn/GaugeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class GaugeTest extends AbstractGaugeTest
1515
{
1616
public function configureAdapter(): void
1717
{
18-
$this->adapter = new RedixTxn(['host' => REDIS_HOST]);
18+
$this->adapter = new RedisTxn(['host' => REDIS_HOST]);
1919
$this->adapter->wipeStorage();
2020
}
2121
}

tests/Test/Prometheus/RedisTxn/GaugeWithPrefixTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function configureAdapter(): void
2020

2121
$connection->setOption(\Redis::OPT_PREFIX, 'prefix:');
2222

23-
$this->adapter = RedixTxn::fromExistingConnection($connection);
23+
$this->adapter = RedisTxn::fromExistingConnection($connection);
2424
$this->adapter->wipeStorage();
2525
}
2626
}

tests/Test/Prometheus/RedisTxn/HistogramTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class HistogramTest extends AbstractHistogramTest
1515
{
1616
public function configureAdapter(): void
1717
{
18-
$this->adapter = new RedixTxn(['host' => REDIS_HOST]);
18+
$this->adapter = new RedisTxn(['host' => REDIS_HOST]);
1919
$this->adapter->wipeStorage();
2020
}
2121
}

tests/Test/Prometheus/RedisTxn/HistogramWithPrefixTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function configureAdapter(): void
2020

2121
$connection->setOption(\Redis::OPT_PREFIX, 'prefix:');
2222

23-
$this->adapter = RedixTxn::fromExistingConnection($connection);
23+
$this->adapter = RedisTxn::fromExistingConnection($connection);
2424
$this->adapter->wipeStorage();
2525
}
2626
}

tests/Test/Prometheus/RedisTxn/SummaryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SummaryTest extends AbstractSummaryTest
1515
{
1616
public function configureAdapter(): void
1717
{
18-
$this->adapter = new RedixTxn(['host' => REDIS_HOST]);
18+
$this->adapter = new RedisTxn(['host' => REDIS_HOST]);
1919
$this->adapter->wipeStorage();
2020
}
2121
}

0 commit comments

Comments
 (0)