File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public function getCompany()
119
119
*/
120
120
public function getTelephone ()
121
121
{
122
- return trim ( $ this ->_get (self ::TELEPHONE ) );
122
+ return $ this ->_get (self ::TELEPHONE );
123
123
}
124
124
125
125
/**
@@ -327,7 +327,7 @@ public function setCompany($company)
327
327
*/
328
328
public function setTelephone ($ telephone )
329
329
{
330
- return $ this ->setData (self ::TELEPHONE , $ telephone );
330
+ return $ this ->setData (self ::TELEPHONE , trim ( $ telephone) );
331
331
}
332
332
333
333
/**
Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ public function setEmail($email)
601
601
*/
602
602
public function setTelephone ($ telephone )
603
603
{
604
- return $ this ->setData (OrderAddressInterface::TELEPHONE , $ telephone );
604
+ return $ this ->setData (OrderAddressInterface::TELEPHONE , trim ( $ telephone) );
605
605
}
606
606
607
607
/**
You can’t perform that action at this time.
0 commit comments