* @return string[]
*/
public function formatBatch( array $records ) {
- $result = array();
+ $result = [];
foreach ( $records as $record ) {
$message = $this->format( $record );
if ( $message !== null ) {
*/
public function getSchemaRevisionId( $channel ) {
if ( isset( $this->schemas[$channel]['revision'] ) ) {
- return (int) $this->schemas[$channel]['revision'];
+ return (int)$this->schemas[$channel]['revision'];
}
return null;
}