Test Setup Failed
Push — master ( 5fdb56...5617df )
by Php Easy Api
04:02
created
src/resta/Schedule/ScheduleManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
     /**
8 8
      * @var array
9 9
      */
10
-    protected static $cronScheduler = ['*','*','*','*','*'];
10
+    protected static $cronScheduler = ['*', '*', '*', '*', '*'];
11 11
 
12 12
     /**
13 13
      * schedule daily
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      * @param int $minute
17 17
      * @return void
18 18
      */
19
-    public function daily($hour=0,$minute=0)
19
+    public function daily($hour = 0, $minute = 0)
20 20
     {
21 21
         self::$cronScheduler[1] = $hour;
22 22
 
Please login to merge, or discard this patch.
src/resta/Schedule/ScheduleInterface.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,48 +9,48 @@
 block discarded – undo
9 9
      * @param int $minute
10 10
      * @return void
11 11
      */
12
-    public function daily($hour=0,$minute=0);
12
+    public function daily($hour = 0, $minute = 0);
13 13
     
14 14
     /**
15 15
      * @param integer $day
16 16
      * @return $this
17 17
      */
18
-    public function day($day=1);
18
+    public function day($day = 1);
19 19
 
20 20
     /**
21 21
      * @param integer $hour
22 22
      * @return $this
23 23
      */
24
-    public function everyHour($hour=1);
24
+    public function everyHour($hour = 1);
25 25
     
26 26
     /**
27 27
      * @param int $minute
28 28
      * @return $this
29 29
      */
30
-    public function everyMinute($minute=1);
30
+    public function everyMinute($minute = 1);
31 31
 
32 32
     /**
33 33
      * @param mixed $hour
34 34
      * @return $this
35 35
      */
36
-    public function hour($hour='*');
36
+    public function hour($hour = '*');
37 37
 
38 38
     /**
39 39
      * @param int $minute
40 40
      * @return $this
41 41
      */
42
-    public function minute($minute=1);
42
+    public function minute($minute = 1);
43 43
 
44 44
     /**
45 45
      * @param mixed $month
46 46
      * @return $this
47 47
      */
48
-    public function month($month=1);
48
+    public function month($month = 1);
49 49
 
50 50
     /**
51 51
      * @param mixed $week$month
52 52
      * @return $this
53 53
      */
54
-    public function week($week=1);
54
+    public function week($week = 1);
55 55
 
56 56
 }
57 57
\ No newline at end of file
Please login to merge, or discard this patch.