1 | <?php |
||
13 | class IftttWebhookService |
||
14 | { |
||
15 | /** @var string */ |
||
16 | const IFTTT_WEBHOOK_URL = "https://maker.ifttt.com/trigger/%s/with/key/%s"; |
||
17 | |||
18 | /** @var string $key */ |
||
19 | protected $key; |
||
20 | |||
21 | /** @var string $event */ |
||
22 | protected $event; |
||
23 | |||
24 | /** @var string $param1 */ |
||
25 | protected $param1; |
||
26 | |||
27 | /** @var string $param2 */ |
||
28 | protected $param2; |
||
29 | |||
30 | /** @var string $param3 */ |
||
31 | protected $param3; |
||
32 | |||
33 | /** @var Client */ |
||
34 | protected $client; |
||
35 | |||
36 | /** |
||
37 | * IftttWebhookService constructor. |
||
38 | */ |
||
39 | public function __construct() |
||
45 | |||
46 | /** |
||
47 | * @param string|null $param1 |
||
48 | * @param string|null $param2 |
||
49 | * @param string|null $param3 |
||
50 | * @param string|null $event |
||
51 | * @param string|null $key |
||
52 | * @return bool |
||
53 | * @throws IftttWebhookException |
||
54 | * @throws IftttWebhookUndefinedKey |
||
55 | */ |
||
56 | public function call( |
||
96 | |||
97 | /** |
||
98 | * Build the URL to post to. |
||
99 | * |
||
100 | * @param string $event |
||
101 | * @param string $key |
||
102 | * @return string |
||
103 | */ |
||
104 | protected function getUrl(string $event, string $key) : string |
||
108 | } |
||
109 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.