Avoid calling oldFileFromRowFactory field directly
[lhc/web/wiklou.git] / includes / filerepo / NullRepo.php
index 3f39f60..29e4cad 100644 (file)
  * @ingroup FileRepo
  */
 class NullRepo extends FileRepo {
-       function __construct( $info ) {}
+
+       /**
+        * @param $info array|null
+        */
+       function __construct( $info ) {
+       }
 
        protected function assertWritableRepo() {
                throw new MWException( get_class( $this ) . ': write operations are not supported.' );