original_string: public function index(Metric $metric, MetricPoint $metricPoint)
      {
          $points = $metric->points()->paginate(Binput::get('per_page', 20));
  
          return $this->paginator($points, Request::instance());
      }
code: public function index(Metric $metric, MetricPoint $metricPoint)
      {
          $points = $metric->points()->paginate(Binput::get('per_page', 20));
  
          return $this->paginator($points, Request::instance());
      }
code_tokens: public function index ( Metric $ metric , MetricPoint $ metricPoint ) { $ points = $ metric -> points ( ) -> paginate ( Binput :: get ( 'per_page' , 20 ) ) ; return $ this -> paginator ( $ points , Request :: instance ( ) ) ; }
docstring: Get a single metric point.
  
  @param \CachetHQ\Cachet\Models\Metric      $metric
  @param \CachetHQ\Cachet\Models\MetricPoint $metricPoint
  
  @return \Illuminate\Http\JsonResponse
docstring_tokens: Get a single metric point .