Declare visibility on class property of MediaHandler
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 5 Dec 2013 13:25:25 +0000 (14:25 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 5 Dec 2013 13:25:25 +0000 (14:25 +0100)
Change-Id: I95785992372a0f189b4543345ec1c040a4a7f7e4

includes/media/MediaHandler.php

index 4bf0b4b..f55e508 100644 (file)
@@ -32,10 +32,8 @@ abstract class MediaHandler {
        const METADATA_BAD = false;
        const METADATA_COMPATIBLE = 2; // for old but backwards compatible.
 
-       /**
-        * Instance cache
-        */
-       static $handlers = array();
+       /** @var MediaHandler[] Instance cache with array of MediaHandler */
+       protected static $handlers = array();
 
        /**
         * Get a MediaHandler for a given MIME type from the instance cache