@@ -118,6 +118,9 @@ |
||
| 118 | 118 | $this->message = '- Harvest: ' . $message; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @param string $method |
|
| 123 | + */ |
|
| 121 | 124 | private function sendApiCall($method, $uri = '', array $options = []) |
| 122 | 125 | { |
| 123 | 126 | $res = true; |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | { |
| 98 | 98 | $res = false; |
| 99 | 99 | |
| 100 | - if ($this->sendApiCall('get', 'show/' .$timerId) === true) { |
|
| 100 | + if ($this->sendApiCall('get', 'show/' . $timerId) === true) { |
|
| 101 | 101 | if ($this->lastApiCall('success') === true) { |
| 102 | 102 | if (isset($this->data['timer_started_at']) === true) { |
| 103 | 103 | $res = true; |
@@ -124,6 +124,9 @@ |
||
| 124 | 124 | $this->message = '- Toggl: ' . $message; |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | + /** |
|
| 128 | + * @param string $method |
|
| 129 | + */ |
|
| 127 | 130 | private function sendApiCall($method, $uri = '', array $options = []) |
| 128 | 131 | { |
| 129 | 132 | $res = true; |