original_string: protected function getSetupPerPageOptions()
      {
          $perPageOptions = [20, 40, 80, 100, 120];
          if (!in_array($this->recordsPerPage, $perPageOptions)) {
              $perPageOptions[] = $this->recordsPerPage;
          }
  
          sort($perPageOptions);
          return $perPageOptions;
      }
code: protected function getSetupPerPageOptions()
      {
          $perPageOptions = [20, 40, 80, 100, 120];
          if (!in_array($this->recordsPerPage, $perPageOptions)) {
              $perPageOptions[] = $this->recordsPerPage;
          }
  
          sort($perPageOptions);
          return $perPageOptions;
      }
code_tokens: protected function getSetupPerPageOptions ( ) { $ perPageOptions = [ 20 , 40 , 80 , 100 , 120 ] ; if ( ! in_array ( $ this -> recordsPerPage , $ perPageOptions ) ) { $ perPageOptions [ ] = $ this -> recordsPerPage ; } sort ( $ perPageOptions ) ; return $ perPageOptions ; }
docstring: Returns an array of allowable records per page.
docstring_tokens: Returns an array of allowable records per page .