Passed
Push — develop ( 043862...ee5a55 )
by nguereza
03:18
created
src/Helper/Timer/Watch.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,10 +142,10 @@
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-    * Get watch
146
-    * @param string $name
147
-    * @return Timer
148
-    */
145
+     * Get watch
146
+     * @param string $name
147
+     * @return Timer
148
+     */
149 149
     public function getWatch(string $name): Timer
150 150
     {
151 151
         if (array_key_exists($name, $this->timers) === false) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class Watch
55 55
  * @package Platine\Framework\Helper\Timer
56 56
  */
57
-class Watch
58
-{
57
+class Watch {
59 58
     /**
60 59
      * The default name to use if none is provided
61 60
      */
Please login to merge, or discard this patch.
src/Helper/Timer/Timer.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class Timer
55 55
  * @package Platine\Framework\Helper\Timer
56 56
  */
57
-class Timer
58
-{
57
+class Timer {
59 58
     public const NOT_STARTED = 0;
60 59
     public const STARTED = 1;
61 60
     public const PAUSED = 2;
@@ -89,8 +88,7 @@  discard block
 block discarded – undo
89 88
      * Create new timer instance
90 89
      * @param string $name
91 90
      */
92
-    public function __construct(string $name)
93
-    {
91
+    public function __construct(string $name) {
94 92
         $this->name = $name;
95 93
     }
96 94
 
Please login to merge, or discard this patch.