Declare visibility of class property in ContentHandler
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Wed, 20 Nov 2013 05:09:49 +0000 (06:09 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Wed, 20 Nov 2013 05:09:49 +0000 (06:09 +0100)
Make $handlers protected. It's only used in MediaHandler and
ContentHandler.

Change-Id: I2cfc9273d4cf710fbcf01a8e70a93ae64de73579

includes/content/ContentHandler.php

index d396570..1abe1fa 100644 (file)
@@ -278,9 +278,9 @@ abstract class ContentHandler {
        }
 
        /**
-        * @var Array A Cache of ContentHandler instances by model id
+        * @var array A Cache of ContentHandler instances by model id
         */
-       static $handlers;
+       protected static $handlers;
 
        /**
         * Returns the ContentHandler singleton for the given model ID. Use the