Completed
Push — master ( ec18ae...5b38d7 )
by Felix
10:07
created
src/Stat.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,17 +75,17 @@
 block discarded – undo
75 75
         {
76 76
             $this->statClient->performQuery('projects/list', []);
77 77
         }
78
-        catch(ClientException $e)
78
+        catch (ClientException $e)
79 79
         {
80 80
             $now = Carbon::now();
81 81
             try
82 82
             {
83
-                if($e->getCode() == 403){
83
+                if ($e->getCode() == 403) {
84 84
                     preg_match("/(\d{1,2}) hours and (\d{1,2}) minutes/", $e->getResponse()->getBody()->getContents(), $matches);
85 85
                     return $now->addHours($matches[1])->addMinutes($matches[2]);
86 86
                 }
87 87
             }
88
-            catch(\Exception $e)
88
+            catch (\Exception $e)
89 89
             {
90 90
                 //
91 91
             }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,8 +74,7 @@  discard block
 block discarded – undo
74 74
         try
75 75
         {
76 76
             $this->statClient->performQuery('projects/list', []);
77
-        }
78
-        catch(ClientException $e)
77
+        } catch(ClientException $e)
79 78
         {
80 79
             $now = Carbon::now();
81 80
             try
@@ -84,8 +83,7 @@  discard block
 block discarded – undo
84 83
                     preg_match("/(\d{1,2}) hours and (\d{1,2}) minutes/", $e->getResponse()->getBody()->getContents(), $matches);
85 84
                     return $now->addHours($matches[1])->addMinutes($matches[2]);
86 85
                 }
87
-            }
88
-            catch(\Exception $e)
86
+            } catch(\Exception $e)
89 87
             {
90 88
                 //
91 89
             }
Please login to merge, or discard this patch.