Skip to content

Commit 5a945d7

Browse files
committed
fix syntax error
1 parent cde95f3 commit 5a945d7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/FedEx/DGDSService/Request.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
namespace FedEx\DGDSService;
3-
3+
44
use FedEx\AbstractRequest;
55

66
/**
@@ -16,7 +16,7 @@ class Request extends AbstractRequest
1616
const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/dgds';
1717

1818
protected static $wsdlFileName = 'DGDS_v3.wsdl';
19-
19+
2020
/**
2121
* Sends the AddDangerousGoodsHandlingUnitRequest and returns the response
2222
*
@@ -30,12 +30,12 @@ public function getAddDangerousGoodsHandlingUnitReply(ComplexType\AddDangerousGo
3030
if ($returnStdClass) {
3131
return $response;
3232
}
33-
33+
3434
$addDangerousGoodsHandlingUnitReply = new ComplexType\AddDangerousGoodsHandlingUnitReply;
3535
$addDangerousGoodsHandlingUnitReply->populateFromStdClass($response);
3636
return $addDangerousGoodsHandlingUnitReply;
3737
}
38-
38+
3939
/**
4040
* Sends the ModifyDangerousGoodsShipmentRequest and returns the response
4141
*
@@ -49,12 +49,12 @@ public function getModifyDangerousGoodsShipmentReply(ComplexType\ModifyDangerous
4949
if ($returnStdClass) {
5050
return $response;
5151
}
52-
52+
5353
$modifyDangerousGoodsShipmentReply = new ComplexType\ModifyDangerousGoodsShipmentReply;
5454
$modifyDangerousGoodsShipmentReply->populateFromStdClass($response);
5555
return $modifyDangerousGoodsShipmentReply;
5656
}
57-
57+
5858
/**
5959
* Sends the UploadDangerousGoodsRequest and returns the response
6060
*
@@ -68,12 +68,12 @@ public function getUploadDangerousGoodsReply(ComplexType\UploadDangerousGoodsReq
6868
if ($returnStdClass) {
6969
return $response;
7070
}
71-
71+
7272
$uploadDangerousGoodsReply = new ComplexType\UploadDangerousGoodsReply;
7373
$uploadDangerousGoodsReply->populateFromStdClass($response);
7474
return $uploadDangerousGoodsReply;
7575
}
76-
76+
7777
/**
7878
* Sends the ModifyDangerousGoodsHandlingUnitRequest and returns the response
7979
*
@@ -87,12 +87,12 @@ public function getModifyDangerousGoodsHandlingUnitReply(ComplexType\ModifyDange
8787
if ($returnStdClass) {
8888
return $response;
8989
}
90-
90+
9191
$modifyDangerousGoodsHandlingUnitReply = new ComplexType\ModifyDangerousGoodsHandlingUnitReply;
9292
$modifyDangerousGoodsHandlingUnitReply->populateFromStdClass($response);
9393
return $modifyDangerousGoodsHandlingUnitReply;
9494
}
95-
95+
9696
/**
9797
* Sends the DeleteDangerousGoodsHandlingUnitRequest and returns the response
9898
*
@@ -106,12 +106,12 @@ public function getDeleteDangerousGoodsHandlingUnitReply(ComplexType\DeleteDange
106106
if ($returnStdClass) {
107107
return $response;
108108
}
109-
109+
110110
$deleteDangerousGoodsHandlingUnitReply = new ComplexType\DeleteDangerousGoodsHandlingUnitReply;
111111
$deleteDangerousGoodsHandlingUnitReply->populateFromStdClass($response);
112112
return $deleteDangerousGoodsHandlingUnitReply;
113113
}
114-
114+
115115
/**
116116
* Sends the DeleteDangerousGoodsRequest and returns the response
117117
*
@@ -125,12 +125,12 @@ public function getDeleteDangerousGoodsReply(ComplexType\DeleteDangerousGoodsReq
125125
if ($returnStdClass) {
126126
return $response;
127127
}
128-
128+
129129
$deleteDangerousGoodsReply = new ComplexType\DeleteDangerousGoodsReply;
130130
$deleteDangerousGoodsReply->populateFromStdClass($response);
131131
return $deleteDangerousGoodsReply;
132132
}
133-
133+
134134
/**
135135
* Sends the RetrieveDangerousGoodsRequest and returns the response
136136
*
@@ -144,12 +144,12 @@ public function getRetrieveDangerousGoodsReply(ComplexType\RetrieveDangerousGood
144144
if ($returnStdClass) {
145145
return $response;
146146
}
147-
147+
148148
$retrieveDangerousGoodsReply = new ComplexType\RetrieveDangerousGoodsReply;
149149
$retrieveDangerousGoodsReply->populateFromStdClass($response);
150150
return $retrieveDangerousGoodsReply;
151151
}
152-
152+
153153
/**
154154
* Sends the alidateDangerousGoods and returns the response
155155
*
@@ -159,11 +159,11 @@ public function getRetrieveDangerousGoodsReply(ComplexType\RetrieveDangerousGood
159159
*/
160160
public function getReply(ComplexType\alidateDangerousGoods $alidateDangerousGoods, $returnStdClass = false)
161161
{
162-
$response = $this->getSoapClient()->($alidateDangerousGoods->toArray());
162+
$response = $this->getSoapClient()->$alidateDangerousGoods->toArray();
163163
if ($returnStdClass) {
164164
return $response;
165165
}
166-
166+
167167
$validateDangerousGoodsReply = new ComplexType\ValidateDangerousGoodsReply;
168168
$validateDangerousGoodsReply->populateFromStdClass($response);
169169
return $validateDangerousGoodsReply;

0 commit comments

Comments
 (0)