Skip to content

Commit

Permalink
Merge pull request #2 from SynappzMA/master
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Feb 26, 2016
2 parents 9da6c54 + d833db8 commit 2460e11
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/ClassGenerator/Generator/PropertyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public static function buildProperty(XSDMap $XSDMap,
trigger_error(sprintf(
'Unable to determine property name on object "%s" with ref value "%s". Property definition: "%s"',
$classTemplate->getElementName(),
$attributes['ref'],
$element->saveXML()
));

Expand Down
2 changes: 1 addition & 1 deletion src/ClassGenerator/Template/AutoloaderTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function addPHPFHIRClassEntry(ClassTemplate $classTemplate)
public function compileTemplate()
{
return sprintf(
include TEMPLATE_DIR.'/autoload_template.php',
include PHPFHIR_TEMPLATE_DIR.'/autoload_template.php',
$this->_outputNamespace,
CopyrightUtils::getBasePHPFHIRCopyrightComment(),
var_export($this->_classMap, true)
Expand Down
2 changes: 1 addition & 1 deletion src/ClassGenerator/Template/ParserMapTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function compileTemplate()
$this->addExtendedClassProperties();

return sprintf(
include TEMPLATE_DIR.'/parser_map_template.php',
include PHPFHIR_TEMPLATE_DIR.'/parser_map_template.php',
$this->_outputNamespace,
CopyrightUtils::getBasePHPFHIRCopyrightComment(),
var_export($this->_bigDumbMap, true)
Expand Down
2 changes: 1 addition & 1 deletion src/ClassGenerator/Template/ResponseParserTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct($outputPath, $outputNamespace)
public function compileTemplate()
{
return sprintf(
include TEMPLATE_DIR.'/response_parser_template.php',
include PHPFHIR_TEMPLATE_DIR.'/response_parser_template.php',
$this->_outputNamespace,
CopyrightUtils::getBasePHPFHIRCopyrightComment()
);
Expand Down

0 comments on commit 2460e11

Please sign in to comment.