$this->schemas[$channel]['schema'] = AvroSchema::parse( $schema );
} else {
$this->schemas[$channel]['schema'] = AvroSchema::real_parse(
- $schema,
- null,
- new AvroNamedSchemata()
+ $schema
);
}
}
*/
public function getSchemaRevisionId( $channel ) {
if ( isset( $this->schemas[$channel]['revision'] ) ) {
- return (int) $this->schemas[$channel]['revision'];
+ return (int)$this->schemas[$channel]['revision'];
}
return null;
}