Passed
Push — master ( 6aed27...ad2c01 )
by Mr
01:54
created
src/Endpoint/Leads.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,9 @@
 block discarded – undo
57 57
     public function getDate($date_from, $date_to, $source_id = null)
58 58
     {
59 59
         $endpoint = '/lead/' . $date_from . '/' . $date_to;
60
-        if (!empty($source_id)) $endpoint .= '/' . $source_id;
60
+        if (!empty($source_id)) {
61
+            $endpoint .= '/' . $source_id;
62
+        }
61 63
         return $this->doRequest('get', $endpoint);
62 64
     }
63 65
 
Please login to merge, or discard this patch.