From d65a2ae691bd8aa18cae7f6fce1d1f9488d2aef0 Mon Sep 17 00:00:00 2001 From: bugalot Date: Tue, 9 Jun 2015 15:33:52 +0200 Subject: [PATCH] TextRunMarshaller class not returning appropriate expected class name. This issue was found thanks to a PR on master by Stella Lie. Thanks! --- composer.json | 2 +- qtism/data/storage/xml/marshalling/TextRunMarshaller.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6244137ca..1a8a40cc6 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "qtism/qtism", "description": "OAT QTI Software Module Library", "type": "library", - "version": "0.9.4", + "version": "0.9.5", "authors": [ { "name": "Open Assessment Technologies S.A.", diff --git a/qtism/data/storage/xml/marshalling/TextRunMarshaller.php b/qtism/data/storage/xml/marshalling/TextRunMarshaller.php index 17cfeeded..d1ba11972 100644 --- a/qtism/data/storage/xml/marshalling/TextRunMarshaller.php +++ b/qtism/data/storage/xml/marshalling/TextRunMarshaller.php @@ -61,6 +61,6 @@ protected function unmarshall(DOMElement $element) { } public function getExpectedQtiClassName() { - return 'randomInteger'; + return 'textRun'; } } \ No newline at end of file