Expanded examples plus small bug fix

This commit is contained in:
Gregory Oschwald
2014-06-17 10:16:14 -07:00
parent 22babda1c9
commit cdf75ec505
3 changed files with 62 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ abstract class AbstractRecord implements \JsonSerializable
*/
public function __construct($record)
{
$this->record = $record;
$this->record = isset($record) ? $record : array();
}
/**