Completed
Push — master ( da6153...10ffd2 )
by Guillaume
02:11
created
src/timer_list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
         'description' => $timer['description']
34 34
     ];
35 35
 
36
-    $subtitle = (empty($projectName) === true ? 'No project' : $projectName) .', '
37
-        .(empty($tags) === true ? 'No tag' : '[' .implode(', ', $tags) .']') .', '
36
+    $subtitle = (empty($projectName) === true ? 'No project' : $projectName) . ', '
37
+        .(empty($tags) === true ? 'No tag' : '[' . implode(', ', $tags) . ']') . ', '
38 38
         .($duration > 0 ? gmdate('H:i:s', $duration) : '--:--:--');
39 39
 
40 40
     $workflow->result()
Please login to merge, or discard this patch.
src/menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
                 ->valid(false);
53 53
         } else {
54 54
             $subtitle = $alfredTime->hasTimerRunning() === true ? 'Stop and delete current timer for ' : 'Delete timer for ';
55
-            $subtitle.= implode(' and ', array_map('ucfirst', $servicesToUndo));
55
+            $subtitle .= implode(' and ', array_map('ucfirst', $servicesToUndo));
56 56
 
57 57
             $workflow->result()
58 58
                 ->uid('')
Please login to merge, or discard this patch.
src/Harvest.class.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -118,6 +118,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Toggl.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -124,6 +124,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.