original_string: public function generateActionParamComments()
      {
          /** @var ActiveRecord $class */
          $class = $this->modelClass;
          $pks = $class::primaryKey();
          if (($table = $this->getTableSchema()) === false) {
              $params = [];
              foreach ($pks as $pk) {
                  $params[] = '@param ' . (substr(strtolower($pk), -2) == 'id' ? 'integer' : 'string') . ' $' . $pk;
              }
  
              return $params;
          }
          if (count($pks) === 1) {
              return ['@param ' . $table->columns[$pks[0]]->phpType . ' $id'];
          } else {
              $params = [];
              foreach ($pks as $pk) {
                  $params[] = '@param ' . $table->columns[$pk]->phpType . ' $' . $pk;
              }
  
              return $params;
          }
      }
code: public function generateActionParamComments()
      {
          /** @var ActiveRecord $class */
          $class = $this->modelClass;
          $pks = $class::primaryKey();
          if (($table = $this->getTableSchema()) === false) {
              $params = [];
              foreach ($pks as $pk) {
                  $params[] = '@param ' . (substr(strtolower($pk), -2) == 'id' ? 'integer' : 'string') . ' $' . $pk;
              }
  
              return $params;
          }
          if (count($pks) === 1) {
              return ['@param ' . $table->columns[$pks[0]]->phpType . ' $id'];
          } else {
              $params = [];
              foreach ($pks as $pk) {
                  $params[] = '@param ' . $table->columns[$pk]->phpType . ' $' . $pk;
              }
  
              return $params;
          }
      }
code_tokens: public function generateActionParamComments ( ) { /** @var ActiveRecord $class */ $ class = $ this -> modelClass ; $ pks = $ class :: primaryKey ( ) ; if ( ( $ table = $ this -> getTableSchema ( ) ) === false ) { $ params = [ ] ; foreach ( $ pks as $ pk ) { $ params [ ] = '@param ' . ( substr ( strtolower ( $ pk ) , - 2 ) == 'id' ? 'integer' : 'string' ) . ' $' . $ pk ; } return $ params ; } if ( count ( $ pks ) === 1 ) { return [ '@param ' . $ table -> columns [ $ pks [ 0 ] ] -> phpType . ' $id' ] ; } else { $ params = [ ] ; foreach ( $ pks as $ pk ) { $ params [ ] = '@param ' . $ table -> columns [ $ pk ] -> phpType . ' $' . $ pk ; } return $ params ; } }
docstring: Generates parameter tags for phpdoc
  @return array parameter tags for phpdoc
docstring_tokens: Generates parameter tags for phpdoc