original_string: public function modulusFilter($number, $divider, $items = null)
      {
          if (\is_string($number)) {
              $number = strlen($number);
          }
  
          $remainder = $number % $divider;
  
          if (\is_array($items)) {
              return $items[$remainder] ?? $items[0];
          }
  
          return $remainder;
      }
code: public function modulusFilter($number, $divider, $items = null)
      {
          if (\is_string($number)) {
              $number = strlen($number);
          }
  
          $remainder = $number % $divider;
  
          if (\is_array($items)) {
              return $items[$remainder] ?? $items[0];
          }
  
          return $remainder;
      }
code_tokens: public function modulusFilter ( $ number , $ divider , $ items = null ) { if ( \ is_string ( $ number ) ) { $ number = strlen ( $ number ) ; } $ remainder = $ number % $ divider ; if ( \ is_array ( $ items ) ) { return $ items [ $ remainder ] ?? $ items [ 0 ] ; } return $ remainder ; }
docstring: Returns the modulus of an integer
  
  @param  string|int   $number
  @param  int          $divider
  @param  array        $items array of items to select from to return
  
  @return int
docstring_tokens: Returns the modulus of an integer