MDL-24321 deprecating object class

This commit is contained in:
Petr Skoda
2010-09-21 08:57:31 +00:00
parent 6bdfef5da9
commit 4f92410fb5
+2 -1
View File
@@ -44,12 +44,13 @@ define ('DEBUG_DEVELOPER', 38911);
/**
* Simple class. It is usually used instead of stdClass because it looks
* more familiar to Java developers ;-) Do not use for type checking of
* function parameters.
* function parameters. Please use stdClass instead.
*
* @package core
* @subpackage lib
* @copyright 2009 Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @deprecated since 2.0
*/
class object extends stdClass {};