File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2323class Dropbox extends Remote implements Collector
2424{
2525 /**
26- * @var DropboxApi
26+ * @var DropboxApi\Dropbox
2727 */
2828 protected $ client ;
2929
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class Dropbox implements Simulator
4949 /**
5050 * Dropbox api client
5151 *
52- * @var DropboxApi
52+ * @var DropboxApi\Dropbox
5353 */
5454 protected $ client ;
5555
@@ -63,12 +63,12 @@ class Dropbox implements Simulator
6363 /**
6464 * @var string
6565 */
66- private mixed $ appKey ;
66+ private $ appKey ;
6767
6868 /**
6969 * @var string
7070 */
71- private mixed $ appSecret ;
71+ private $ appSecret ;
7272
7373 /**
7474 * (non-PHPDoc)
Original file line number Diff line number Diff line change @@ -106,6 +106,11 @@ class Webhook implements Listener, Logger
106106 */
107107 private bool $ sendSimulating = false ;
108108
109+ /**
110+ * @var bool
111+ */
112+ private bool $ isSimulation = false ;
113+
109114 /**
110115 * Constructor will only set the start time to be able to log duration
111116 */
@@ -164,6 +169,7 @@ public function setup(array $options)
164169 $ this ->template = Arr::getValue ($ options , 'template ' , '' );
165170 $ this ->contentType = Arr::getValue ($ options , 'contentType ' , 'multipart/form-data ' );
166171 $ this ->timeout = Arr::getValue ($ options , 'timeout ' , '' );
172+ $ this ->isSimulation = Arr::getValue ($ options , '__simulate__ ' , false );
167173 }
168174
169175 /**
You can’t perform that action at this time.
0 commit comments