Instead of the if you can do

``` php
$queueList = $this->memcached->get($this->getQueueListKey();

return json_decode($queueList ?: '[]', true);
```