Skip to content

Commit b8f306d

Browse files
committed
Fix CS
1 parent b58571b commit b8f306d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Caster/RdKafkaCasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function testDumpProducerTopic()
181181
$producer->addBrokers($this->broker);
182182

183183
$topic = $producer->newTopic('test');
184-
$topic->produce(RD_KAFKA_PARTITION_UA, 0, '{}');
184+
$topic->produce(\RD_KAFKA_PARTITION_UA, 0, '{}');
185185

186186
$expectedDump = <<<EODUMP
187187
RdKafka\ProducerTopic {

VarDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private static function getDefaultContextProviders(): array
9999
{
100100
$contextProviders = [];
101101

102-
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && (class_exists(Request::class))) {
102+
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && class_exists(Request::class)) {
103103
$requestStack = new RequestStack();
104104
$requestStack->push(Request::createFromGlobals());
105105
$contextProviders['request'] = new RequestContextProvider($requestStack);

0 commit comments

Comments
 (0)