From 45af5a13f88ec2e2500973077020a187c8ae1d13 Mon Sep 17 00:00:00 2001 From: Daniel Paul Carbone Date: Sat, 7 Dec 2019 10:38:02 -0600 Subject: [PATCH] minor cleanup in prep for gettin validation going --- template/types/class.php | 2 +- template/validation/method.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/template/types/class.php b/template/types/class.php index d81a3b09..4f973d5e 100644 --- a/template/types/class.php +++ b/template/types/class.php @@ -144,7 +144,7 @@ PHPFHIR_TEMPLATE_VALIDATION_DIR . '/method.php', [ 'type' => $type, - 'sortedProperties' => $directProperties + 'directProperties' => $directProperties ] ); ?> diff --git a/template/validation/method.php b/template/validation/method.php index 9c0856d0..31249c0c 100644 --- a/template/validation/method.php +++ b/template/validation/method.php @@ -17,9 +17,7 @@ */ /** @var \DCarbone\PHPFHIR\Definition\Type $type */ -/** @var \DCarbone\PHPFHIR\Definition\Property[] $sortedProperties */ - -$parentType = $type->getParentType(); +/** @var \DCarbone\PHPFHIR\Definition\Property[] $directProperties */ ob_start(); ?> /**