Skip to content

Commit

Permalink
Added return scoping to method signature, matching parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsharman committed Mar 1, 2023
1 parent d5e9f76 commit f3e7262
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace LearnosityQti\Processors\QtiV2\Marshallers;

use DOMElement;
use LearnosityQti\Processors\QtiV2\Out\ContentCollectionBuilder;
use LearnosityQti\Services\ConvertToLearnosityService;
use LearnosityQti\Services\LogService;
Expand All @@ -20,7 +21,7 @@ class LearnosityObjectMarshaller extends ObjectMarshaller
const MIME_HTML = 'html';
const MIME_NOT_SUPPORTED = 'na';

protected function marshallChildrenKnown(QtiComponent $component, array $elements)
protected function marshallChildrenKnown(QtiComponent $component, array $elements): DOMElement
{
$learnosityServiceObject = ConvertToLearnosityService::getInstance();
/** @var ObjectElement $component */
Expand Down

0 comments on commit f3e7262

Please sign in to comment.