Skip to content

Commit b646e7b

Browse files
author
Caitlin Bales (MSFT)
committed
Return from constructor
1 parent 7408fa1 commit b646e7b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Templates/PHP/Model/ComplexType.php.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class <#=complex.Name.ToCheckedCase()#> extends Entity
3131
{
3232
parent::__construct();
3333
$this->_propDict = $propDict;
34+
return $this;
3435
}
3536

3637
/**

Templates/PHP/Model/EntityType.php.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if (!(entity.Name.ToCheckedCase() == "Entity")) {
5050
}
5151
#>
5252
$this->_propDict = $propDict;
53+
return $this;
5354
}
5455

5556
/**

0 commit comments

Comments
 (0)