original_string: public function get_editable_fields(int $instanceid) : array {
          $handler = $this;
          return array_filter($this->get_fields(),
              function($field) use($handler, $instanceid) {
                  return $handler->can_edit($field, $instanceid);
              }
          );
      }
code: public function get_editable_fields(int $instanceid) : array {
          $handler = $this;
          return array_filter($this->get_fields(),
              function($field) use($handler, $instanceid) {
                  return $handler->can_edit($field, $instanceid);
              }
          );
      }
code_tokens: public function get_editable_fields ( int $ instanceid ) : array { $ handler = $ this ; return array_filter ( $ this -> get_fields ( ) , function ( $ field ) use ( $ handler , $ instanceid ) { return $ handler -> can_edit ( $ field , $ instanceid ) ; } ) ; }
docstring: Get editable fields
  
  @param int $instanceid
  @return field_controller[]
docstring_tokens: Get editable fields