Skip to content

Commit 09e1c60

Browse files
author
Caitlin Bales (MSFT)
committed
Updated spacing and line length
1 parent 43370bc commit 09e1c60

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

Templates/PHP/Model/ComplexType.php.tt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ namespace Microsoft\Graph\Model;
1313
class <#=complex.Name.ToUpperFirstChar()#>
1414
{
1515
/**
16-
* The array of properties available to the model
16+
* The array of properties available
17+
* to the model
18+
*
1719
* @var array(string => string)
1820
*/
1921
private $_propDict;
2022
/**
2123
* <#=complex.Name.ToCheckedCase()#> constructor
2224
*
23-
* @param array $propDict List of properties to set, defaults to an empty array
25+
* @param array $propDict List of properties to set
26+
* Defaults to an empty array
2427
*
2528
* @return null
2629
*/
@@ -70,7 +73,8 @@ class <#=complex.Name.ToUpperFirstChar()#>
7073
<#
7174
if (property.Type.GetTypeString() == "datetime") {
7275
#>
73-
$this->_propDict["<#=propertyName#>"] = $val->format(\DateTime::ISO8601) . "Z";
76+
$this->_propDict["<#=propertyName#>"]
77+
= $val->format(\DateTime::ISO8601) . "Z";
7478
<#
7579
} else {
7680
#>

Templates/PHP/Model/EntityType.php.tt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ namespace Microsoft\Graph\Model;
1616
class <#=entity.Name.ToCheckedCase()#>
1717
{
1818
/**
19-
* The array of properties available to the model
19+
* The array of properties available
20+
* to the model
21+
*
2022
* @var array(string => string)
2123
*/
2224
private $_propDict;
@@ -141,7 +143,8 @@ class <#=entity.Name.ToCheckedCase()#>
141143
<#
142144
if (property.Type.GetTypeString() == "datetime") {
143145
#>
144-
$this->_propDict["<#=property.Name.ToCamelize()#>"] = $val->format(\DateTime::ISO8601) . "Z";
146+
$this->_propDict["<#=property.Name.ToCamelize()#>"]
147+
= $val->format(\DateTime::ISO8601) . "Z";
145148
<#
146149
} else {
147150
#>

0 commit comments

Comments
 (0)