Skip to content
This repository was archived by the owner on Jan 10, 2020. It is now read-only.

Commit 425d53f

Browse files
committed
Fixing weird param error
1 parent 87b90d6 commit 425d53f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Controller/DeviceController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ class DeviceController extends Controller
4949
* @Method("POST")
5050
* @Rest\View()
5151
* @RequestParam(name="device_token", description="The device token returned from Apple.", strict=true)
52+
* @RequestParam(name="is_sandbox", description="Whether or not this is using apples sandbox", strict=true)
5253
* @RequestParam(name="badge_allowed", requirements="(0|1|false|true)", description="Whether or not the user has allowed badges on the app.", strict=true)
5354
* @RequestParam(name="sound_allowed", requirements="(0|1|false|true)", description="Whether or not the user has allowed sounds on the app.", strict=true)
5455
* @RequestParam(name="alert_allowed", requirements="(0|1|false|true)", description="Whether or not the user has allowed alerts on the app.", strict=true)
55-
* @RequestParam(name="is_sandbox", requirements="(0|1|false|true)", description="Whether or not the app's certificate is using apple's sandbox.", strict=true)
5656
* @RequestParam(name="device_name", description="The name of the registering device.", strict=true)
5757
* @RequestParam(name="device_model", description="The model of the registering device.", strict=true)
5858
* @RequestParam(name="device_version", description="The iOS version of the registering device.", strict=true)
@@ -122,7 +122,7 @@ public function registeriOSDeviceAction(ParamFetcher $paramFetcher) {
122122
* @Rest\View()
123123
* @RequestParam(name="device_token", description="The registration id returned from GCM", strict=true)
124124
* @RequestParam(name="device_identifier", description="The vendor device identifier of the Android device.", strict=true)
125-
* @RequestParam(name="is_sandbox", requirements="(0|1|false|true)", description="Whether or not the app's certificate is using apple's sandbox.", strict=true)
125+
* @RequestParam(name="is_sandbox", description="Whether or not this app is using googles sandbox", strict=true)
126126
* @RequestParam(name="device_name", description="The name of the registering device.", strict=true)
127127
* @RequestParam(name="device_model", description="The model of the registering device.", strict=true)
128128
* @RequestParam(name="device_version", description="The iOS version of the registering device.", strict=true)

0 commit comments

Comments
 (0)