original_string: protected function _daySelect($options, $context)
      {
          $options += [
              'name' => '',
              'val' => null,
              'leadingZeroKey' => true,
              'leadingZeroValue' => false,
              'templateVars' => [],
          ];
          $options['options'] = $this->_generateNumbers(1, 31, $options);
  
          unset($options['names'], $options['leadingZeroKey'], $options['leadingZeroValue']);
  
          return $this->_select->render($options, $context);
      }
code: protected function _daySelect($options, $context)
      {
          $options += [
              'name' => '',
              'val' => null,
              'leadingZeroKey' => true,
              'leadingZeroValue' => false,
              'templateVars' => [],
          ];
          $options['options'] = $this->_generateNumbers(1, 31, $options);
  
          unset($options['names'], $options['leadingZeroKey'], $options['leadingZeroValue']);
  
          return $this->_select->render($options, $context);
      }
code_tokens: protected function _daySelect ( $ options , $ context ) { $ options += [ 'name' => '' , 'val' => null , 'leadingZeroKey' => true , 'leadingZeroValue' => false , 'templateVars' => [ ] , ] ; $ options [ 'options' ] = $ this -> _generateNumbers ( 1 , 31 , $ options ) ; unset ( $ options [ 'names' ] , $ options [ 'leadingZeroKey' ] , $ options [ 'leadingZeroValue' ] ) ; return $ this -> _select -> render ( $ options , $ context ) ; }
docstring: Generates a day select
  
  @param array $options The options to generate a day select with.
  @param \Cake\View\Form\ContextInterface $context The current form context.
  @return string
docstring_tokens: Generates a day select