Merge "Improve "selfmove" message's wording"
[lhc/web/wiklou.git] / includes / debug / logger / monolog / AvroFormatter.php
index 2700daa..a395e0d 100644 (file)
@@ -23,7 +23,6 @@ namespace MediaWiki\Logger\Monolog;
 use AvroIODatumWriter;
 use AvroIOBinaryEncoder;
 use AvroIOTypeException;
-use AvroNamedSchemata;
 use AvroSchema;
 use AvroStringIO;
 use AvroValidator;
@@ -62,7 +61,7 @@ class AvroFormatter implements FormatterInterface {
        protected $writer;
 
        /**
-        * @var array $schemas Map from Monolog channel to Avro schema.
+        * @param array $schemas Map from Monolog channel to Avro schema.
         *  Each schema can be either the JSON string or decoded into PHP
         *  arrays.
         */
@@ -121,7 +120,7 @@ class AvroFormatter implements FormatterInterface {
        /**
         * Get the writer for the named channel
         *
-        * @var string $channel Name of the schema to fetch
+        * @param string $channel Name of the schema to fetch
         * @return \AvroSchema|null
         */
        protected function getSchema( $channel ) {
@@ -148,7 +147,7 @@ class AvroFormatter implements FormatterInterface {
        /**
         * Get the writer for the named channel
         *
-        * @var string $channel Name of the schema
+        * @param string $channel Name of the schema
         * @return int|null
         */
        public function getSchemaRevisionId( $channel ) {