tedious/TedivmStashBundle

Unhandled notices from missing indexes

tobiassjosten opened this issue · 0 comments

I'm getting the following notices in a couple of cases:

PHP Notice:  Undefined index: server in vendor/tedivm/stash-bundle/Factory/DriverFactory.php on line 58
PHP Notice:  Undefined index: port in vendor/tedivm/stash-bundle/Factory/DriverFactory.php on line 59

When running cache:clear, during the clearing phase, the server configuration looks to be passed in just fine:

Array
(
    [server] => localhost
    [port] => 11211
    [weight] => 1
)

No notice. But during the second phase, invoking cache:warmup, it gets passed this:

Array
(
    [0] => localhost
    [1] => 11211
    [2] => 1
)