Completed
Branch v2 (b3a0f8)
by Guillaume
03:33
created
src/Harvest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@
 block discarded – undo
103 103
         return false;
104 104
     }
105 105
 
106
+    /**
107
+     * @return integer
108
+     */
106 109
     public function runningTimer()
107 110
     {
108 111
         $timer = $this->client->timeEntries()->all(['is_running' => true]);
Please login to merge, or discard this patch.
src/Toggl.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@  discard block
 block discarded – undo
79 79
         return false;
80 80
     }
81 81
 
82
+    /**
83
+     * @return integer
84
+     */
82 85
     public function runningTimer()
83 86
     {
84 87
         $timer = $this->client->getRunningTimeEntry();
@@ -106,6 +109,9 @@  discard block
 block discarded – undo
106 109
         return true;
107 110
     }
108 111
 
112
+    /**
113
+     * @param string $needle
114
+     */
109 115
     private function extractFromData($needle)
110 116
     {
111 117
         $data = $this->getData();
Please login to merge, or discard this patch.
src/Workflow.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@
 block discarded – undo
133 133
         return __NAMESPACE__ . '\\Menus\\' . (self::getMenuClassName($action) ?: 'Entrance');
134 134
     }
135 135
 
136
+    /**
137
+     * @param string $action
138
+     */
136 139
     private static function getMenuClassName($action)
137 140
     {
138 141
         return str_replace('_', '', ucwords($action === false ? 'entrance' : $action, '_'));
Please login to merge, or discard this patch.