Index: entity/includes/entity.wrapper.inc
===================================================================
--- entity/includes/entity.wrapper.inc	(revision 107)
+++ entity/includes/entity.wrapper.inc	(working copy)
@@ -278,7 +278,7 @@
    *     data structure. It has to contain an array of property info in the same
    *     structure as used by hook_entity_property_info().
    */
-  public function __construct($type, &$data = NULL, $info = NULL) {
+  public function __construct($type, &$data = NULL, $info = array()) {
     parent::__construct($type, $data, $info);
     $this->info += array('property defaults' => array());
     $info += array('property info' => array());
@@ -563,7 +563,7 @@
    * @param $info
    *   Optional. Used internally to pass info about properties down the tree.
    */
-  public function __construct($type, $data = NULL, $info = NULL) {
+  public function __construct($type, $data = NULL, $info = array()) {
     parent::__construct($type, $data, $info);
     $this->setEntity($data);
     $this->setUp();
