X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FStorage%2FBlobStoreFactory.php;h=c1371c93366ab93c3aef3a2e3fe89bc1c1abb474;hp=b59c68d175a94128718fc7bb050cd606d29a9bbe;hb=f6633d9f46951e57e5c7060953194aeeb7522024;hpb=cca344a717b9e41b0e32e4915295cd36dd18bf83 diff --git a/includes/Storage/BlobStoreFactory.php b/includes/Storage/BlobStoreFactory.php index b59c68d175..c1371c9336 100644 --- a/includes/Storage/BlobStoreFactory.php +++ b/includes/Storage/BlobStoreFactory.php @@ -61,12 +61,10 @@ class BlobStoreFactory { private $contLang; /** - * TODO Make this a const when HHVM support is dropped (T192166) - * * @var array * @since 1.34 */ - public static $constructorOptions = [ + public const CONSTRUCTOR_OPTIONS = [ 'CompressRevisions', 'DefaultExternalStore', 'LegacyEncoding', @@ -80,7 +78,7 @@ class BlobStoreFactory { ServiceOptions $options, Language $contLang ) { - $options->assertRequiredOptions( self::$constructorOptions ); + $options->assertRequiredOptions( self::CONSTRUCTOR_OPTIONS ); $this->lbFactory = $lbFactory; $this->extStoreAccess = $extStoreAccess;