@@ -5,5 +5,5 @@ |
||
| 5 | 5 | * @author Michael Große <[email protected]> |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -$meta['service'] = array('multichoice','_choices' => array('IFTTT','Zapier')); |
|
| 8 | +$meta['service'] = array('multichoice', '_choices' => array('IFTTT', 'Zapier')); |
|
| 9 | 9 | $meta['hook_secret'] = array('password'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | /** @var array alway enable the needed plugins */ |
| 14 | 14 | protected $pluginsEnabled = ['swarmwebhook', 'struct', 'sqlite']; |
| 15 | 15 | |
| 16 | - function setUp(){ |
|
| 16 | + function setUp() { |
|
| 17 | 17 | global $conf; |
| 18 | 18 | |
| 19 | 19 | parent::setUp(); |
@@ -159,9 +159,9 @@ |
||
| 159 | 159 | dbglog(DateTime::getLastErrors()); |
| 160 | 160 | $dateTime = new DateTime('now'); |
| 161 | 161 | } |
| 162 | - $guessedOffset = round(($dateTime->getTimestamp() - $nowTS)/3600)*100; |
|
| 162 | + $guessedOffset = round(($dateTime->getTimestamp() - $nowTS) / 3600) * 100; |
|
| 163 | 163 | $sign = $guessedOffset > 0 ? '+' : ''; |
| 164 | 164 | |
| 165 | - return $sign . (string)$guessedOffset; |
|
| 165 | + return $sign . (string) $guessedOffset; |
|
| 166 | 166 | } |
| 167 | 167 | } |