I'd rather have two `if` blocks and the `$result = $this->storage->setItem($id, $data);` in the middle