Restore FileBackendStoreOpHandle::call
authorDaimona Eaytoy <daimona.wiki@gmail.com>
Tue, 10 Sep 2019 13:18:25 +0000 (15:18 +0200)
committerKrinkle <krinklemail@gmail.com>
Tue, 10 Sep 2019 15:16:12 +0000 (15:16 +0000)
Follows-up eb06fb858e8492453ddb66f9b813e.

The property is still in use, see
https://codesearch.wmflabs.org/core/?q=-%3Ecall%5Cb&i=nope&files=&repos=

and failures at
https://integration.wikimedia.org/ci/job/mediawiki-core-php72-phan-docker/5893/console.

Change-Id: Ic9e72c3ab57cef3dd16c64ce279875df10ba3a14

includes/libs/filebackend/fileophandle/FileBackendStoreOpHandle.php

index 649225d..8697f9f 100644 (file)
@@ -34,6 +34,8 @@ abstract class FileBackendStoreOpHandle {
        public $backend;
        /** @var array */
        public $resourcesToClose = [];
        public $backend;
        /** @var array */
        public $resourcesToClose = [];
+       /** @var callable name that identifies the function called */
+       public $call;
 
        /**
         * Close all open file handles
 
        /**
         * Close all open file handles