5, ]; /** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function run() { $pirepRepo = app(PirepRepository::class); return $this->view('widgets.recent_pireps', [ 'config' => $this->config, 'pireps' => $pirepRepo->recent($this->config['count']), ]); } }