Skip to content

Commit

Permalink
Adding a no-op constructor for Object. Fixes issues where numerous su…
Browse files Browse the repository at this point in the history
…b-classes break because of a missing constructor in Object.
  • Loading branch information
markstory committed Apr 18, 2010
1 parent 146ec00 commit 40e310c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cake/libs/object.php
Expand Up @@ -32,6 +32,15 @@
*/
class Object {

/**
* constructor, no-op
*
* @return void
*/
public function __construct() {

}

/**
* Object-to-string conversion.
* Each class can override this method as necessary.
Expand Down

0 comments on commit 40e310c

Please sign in to comment.