Remove spaces after cast operators
[lhc/web/wiklou.git] / includes / debug / logger / monolog / AvroFormatter.php
index eb1a0d0..ce0cda1 100644 (file)
@@ -108,7 +108,7 @@ class AvroFormatter implements FormatterInterface {
         * @return string[]
         */
        public function formatBatch( array $records ) {
-               $result = array();
+               $result = [];
                foreach ( $records as $record ) {
                        $message = $this->format( $record );
                        if ( $message !== null ) {
@@ -155,7 +155,7 @@ class AvroFormatter implements FormatterInterface {
         */
        public function getSchemaRevisionId( $channel ) {
                if ( isset( $this->schemas[$channel]['revision'] ) ) {
-                       return (int) $this->schemas[$channel]['revision'];
+                       return (int)$this->schemas[$channel]['revision'];
                }
                return null;
        }