@@ -937,7 +937,7 @@ public function listBlocklists(): StreamResponse
937937 */
938938 public function getBlocklist (string $ name ): StreamResponse
939939 {
940- return $ this ->get ("blocklists/ $ { name}" );
940+ return $ this ->get ("blocklists/ { $ name }" );
941941 }
942942
943943 /** Updates a blocklist.
@@ -946,7 +946,7 @@ public function getBlocklist(string $name): StreamResponse
946946 */
947947 public function updateBlocklist (string $ name , array $ blocklist ): StreamResponse
948948 {
949- return $ this ->put ("blocklists/ $ { name}" , $ blocklist );
949+ return $ this ->put ("blocklists/ { $ name }" , $ blocklist );
950950 }
951951
952952 /** Deletes a blocklist.
@@ -955,7 +955,7 @@ public function updateBlocklist(string $name, array $blocklist): StreamResponse
955955 */
956956 public function deleteBlocklist (string $ name ): StreamResponse
957957 {
958- return $ this ->delete ("blocklists/ $ { name}" );
958+ return $ this ->delete ("blocklists/ { $ name }" );
959959 }
960960
961961 /** Creates a command.
@@ -982,7 +982,7 @@ public function listCommands(): StreamResponse
982982 */
983983 public function getCommand (string $ name ): StreamResponse
984984 {
985- return $ this ->get ("commands/ $ { name}" );
985+ return $ this ->get ("commands/ { $ name }" );
986986 }
987987
988988 /** Updates a command.
@@ -991,7 +991,7 @@ public function getCommand(string $name): StreamResponse
991991 */
992992 public function updateCommand (string $ name , array $ command ): StreamResponse
993993 {
994- return $ this ->put ("commands/ $ { name}" , $ command );
994+ return $ this ->put ("commands/ { $ name }" , $ command );
995995 }
996996
997997 /** Deletes a command.
@@ -1000,7 +1000,7 @@ public function updateCommand(string $name, array $command): StreamResponse
10001000 */
10011001 public function deleteCommand (string $ name ): StreamResponse
10021002 {
1003- return $ this ->delete ("commands/ $ { name}" );
1003+ return $ this ->delete ("commands/ { $ name }" );
10041004 }
10051005
10061006 /** Creates a device.
@@ -1199,7 +1199,7 @@ public function sendFile(string $uri, string $url, string $name, array $user, st
11991199 */
12001200 public function sendMessageAction (string $ messageId , string $ userId , array $ formData )
12011201 {
1202- return $ this ->post ("messages/ $ { messageId}/action " , ["user_id " => $ userId , "form_data " => $ formData ]);
1202+ return $ this ->post ("messages/ { $ messageId }/action " , ["user_id " => $ userId , "form_data " => $ formData ]);
12031203 }
12041204
12051205 /** Lists all roles.
@@ -1226,7 +1226,7 @@ public function listPermissions(): StreamResponse
12261226 */
12271227 public function getPermission (string $ id ): StreamResponse
12281228 {
1229- return $ this ->get ("permissions/ $ { id}" );
1229+ return $ this ->get ("permissions/ { $ id }" );
12301230 }
12311231
12321232 /** Creates a role.
@@ -1247,7 +1247,7 @@ public function createRole(string $name): StreamResponse
12471247 */
12481248 public function deleteRole (string $ name ): StreamResponse
12491249 {
1250- return $ this ->delete ("roles/ $ { name}" );
1250+ return $ this ->delete ("roles/ { $ name }" );
12511251 }
12521252
12531253 /** Translates a message to a language.
@@ -1256,7 +1256,7 @@ public function deleteRole(string $name): StreamResponse
12561256 */
12571257 public function translateMessage (string $ messageId , string $ language ): StreamResponse
12581258 {
1259- return $ this ->post ("messages/ $ { messageId}/translate " , ["language " => $ language ]);
1259+ return $ this ->post ("messages/ { $ messageId }/translate " , ["language " => $ language ]);
12601260 }
12611261
12621262 /**
@@ -1292,7 +1292,7 @@ public function exportChannel(array $request, array $options = []): StreamRespon
12921292 */
12931293 public function getExportChannelStatus (string $ id ): StreamResponse
12941294 {
1295- return $ this ->get ("export_channels/ $ { id}" );
1295+ return $ this ->get ("export_channels/ { $ id }" );
12961296 }
12971297
12981298 /**
@@ -1353,7 +1353,7 @@ public function createCampaign(array $campaign): StreamResponse
13531353 */
13541354 public function getCampaign (string $ campaign_id ): StreamResponse
13551355 {
1356- return $ this ->get ("campaigns/ $ { campaign_id}" );
1356+ return $ this ->get ("campaigns/ { $ campaign_id }" );
13571357 }
13581358
13591359 /** List all campaigns.
@@ -1370,47 +1370,47 @@ public function listCampaigns(array $options = []): StreamResponse
13701370 */
13711371 public function updateCampaign (string $ campaign_id , array $ campaign ): StreamResponse
13721372 {
1373- return $ this ->put ("campaigns/ $ { campaign_id}" , ["campaign " => $ campaign ]);
1373+ return $ this ->put ("campaigns/ { $ campaign_id }" , ["campaign " => $ campaign ]);
13741374 }
13751375
13761376 /** Delete a campaign
13771377 * @throws StreamException
13781378 */
13791379 public function deleteCampaign (string $ campaign_id ): StreamResponse
13801380 {
1381- return $ this ->delete ("campaigns/ $ { campaign_id}" );
1381+ return $ this ->delete ("campaigns/ { $ campaign_id }" );
13821382 }
13831383
13841384 /** Schedule a campaign
13851385 * @throws StreamException
13861386 */
13871387 public function scheduleCampaign (string $ campaign_id , int $ sendAt ): StreamResponse
13881388 {
1389- return $ this ->patch ("campaigns/ $ { campaign_id}/schedule " , ["send_at " => $ sendAt ]);
1389+ return $ this ->patch ("campaigns/ { $ campaign_id }/schedule " , ["send_at " => $ sendAt ]);
13901390 }
13911391
13921392 /** Stop a campaign
13931393 * @throws StreamException
13941394 */
13951395 public function stopCampaign (string $ campaign_id ): StreamResponse
13961396 {
1397- return $ this ->patch ("campaigns/ $ { campaign_id}/stop " , []);
1397+ return $ this ->patch ("campaigns/ { $ campaign_id }/stop " , []);
13981398 }
13991399
14001400 /** Resume a campaign
14011401 * @throws StreamException
14021402 */
14031403 public function resumeCampaign (string $ campaign_id ): StreamResponse
14041404 {
1405- return $ this ->patch ("campaigns/ $ { campaign_id}/resume " , []);
1405+ return $ this ->patch ("campaigns/ { $ campaign_id }/resume " , []);
14061406 }
14071407
14081408 /** Test a campaign
14091409 * @throws StreamException
14101410 */
14111411 public function testCampaign (string $ campaign_id , array $ users ): StreamResponse
14121412 {
1413- return $ this ->post ("campaigns/ $ { campaign_id}/test " , ["users " => $ users ]);
1413+ return $ this ->post ("campaigns/ { $ campaign_id }/test " , ["users " => $ users ]);
14141414 }
14151415
14161416 /** Create a campaign segment
@@ -1426,7 +1426,7 @@ public function createSegment(array $segment): StreamResponse
14261426 */
14271427 public function getSegment (string $ segment_id ): StreamResponse
14281428 {
1429- return $ this ->get ("segments/ $ { segment_id}" );
1429+ return $ this ->get ("segments/ { $ segment_id }" );
14301430 }
14311431
14321432 /** List all campaign segments.
@@ -1443,15 +1443,15 @@ public function listSegments(array $options = []): StreamResponse
14431443 */
14441444 public function updateSegment (string $ segment_id , array $ segment ): StreamResponse
14451445 {
1446- return $ this ->put ("segments/ $ { segment_id}" , ["segment " => $ segment ]);
1446+ return $ this ->put ("segments/ { $ segment_id }" , ["segment " => $ segment ]);
14471447 }
14481448
14491449 /** Delete a campaign segment
14501450 * @throws StreamException
14511451 */
14521452 public function deleteSegment (string $ segment_id ): StreamResponse
14531453 {
1454- return $ this ->delete ("segments/ $ { segment_id}" );
1454+ return $ this ->delete ("segments/ { $ segment_id }" );
14551455 }
14561456
14571457 /** Create import url
0 commit comments