findOrEmpty(); $result = $result->isEmpty() ? [] : $result->toArray(); return $this->data($result); } }