original_string: public function showIncidents()
      {
          $incidents = Incident::with('user')->orderBy('created_at', 'desc')->get();
  
          return View::make('dashboard.incidents.index')
              ->withPageTitle(trans('dashboard.incidents.incidents').' - '.trans('dashboard.dashboard'))
              ->withIncidents($incidents);
      }
code: public function showIncidents()
      {
          $incidents = Incident::with('user')->orderBy('created_at', 'desc')->get();
  
          return View::make('dashboard.incidents.index')
              ->withPageTitle(trans('dashboard.incidents.incidents').' - '.trans('dashboard.dashboard'))
              ->withIncidents($incidents);
      }
code_tokens: public function showIncidents ( ) { $ incidents = Incident :: with ( 'user' ) -> orderBy ( 'created_at' , 'desc' ) -> get ( ) ; return View :: make ( 'dashboard.incidents.index' ) -> withPageTitle ( trans ( 'dashboard.incidents.incidents' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withIncidents ( $ incidents ) ; }
docstring: Shows the incidents view.
  
  @return \Illuminate\View\View
docstring_tokens: Shows the incidents view .