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 23
23
class Dropbox extends Remote implements Collector
24
24
{
25
25
/**
26
- * @var DropboxApi
26
+ * @var DropboxApi\Dropbox
27
27
*/
28
28
protected $ client ;
29
29
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class Dropbox implements Simulator
49
49
/**
50
50
* Dropbox api client
51
51
*
52
- * @var DropboxApi
52
+ * @var DropboxApi\Dropbox
53
53
*/
54
54
protected $ client ;
55
55
@@ -63,12 +63,12 @@ class Dropbox implements Simulator
63
63
/**
64
64
* @var string
65
65
*/
66
- private mixed $ appKey ;
66
+ private $ appKey ;
67
67
68
68
/**
69
69
* @var string
70
70
*/
71
- private mixed $ appSecret ;
71
+ private $ appSecret ;
72
72
73
73
/**
74
74
* (non-PHPDoc)
Original file line number Diff line number Diff line change @@ -106,6 +106,11 @@ class Webhook implements Listener, Logger
106
106
*/
107
107
private bool $ sendSimulating = false ;
108
108
109
+ /**
110
+ * @var bool
111
+ */
112
+ private bool $ isSimulation = false ;
113
+
109
114
/**
110
115
* Constructor will only set the start time to be able to log duration
111
116
*/
@@ -164,6 +169,7 @@ public function setup(array $options)
164
169
$ this ->template = Arr::getValue ($ options , 'template ' , '' );
165
170
$ this ->contentType = Arr::getValue ($ options , 'contentType ' , 'multipart/form-data ' );
166
171
$ this ->timeout = Arr::getValue ($ options , 'timeout ' , '' );
172
+ $ this ->isSimulation = Arr::getValue ($ options , '__simulate__ ' , false );
167
173
}
168
174
169
175
/**
You can’t perform that action at this time.
0 commit comments