denpamusic/laravel-bitcoinrpc

View on GitHub
src/ZeroMQ/Listener.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Avoid unused local variables such as '$topic'.
Open

        [$topic, $payload, $sequence] = $message;
Severity: Minor
Found in src/ZeroMQ/Listener.php by phpmd

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

There are no issues that match your filters.

Category
Status