Completed
Branch FET-8394-RULES (1ae5e4)
by
unknown
50:31 queued 37:22
created
core/services/automated_actions/Cron.php 1 patch
Indentation   +87 added lines, -87 removed lines patch added patch discarded remove patch
@@ -16,93 +16,93 @@
 block discarded – undo
16 16
 class Cron implements JobInterface
17 17
 {
18 18
 
19
-    /**
20
-     * @var $timestamp integer
21
-     */
22
-    private $timestamp;
23
-
24
-    /**
25
-     * @var $recurrence string
26
-     */
27
-    private $recurrence;
28
-
29
-    /**
30
-     * @var $action_hook string
31
-     */
32
-    private $action_hook;
33
-
34
-    /**
35
-     * @var $data array
36
-     */
37
-    private $data;
38
-
39
-
40
-
41
-    /**
42
-     * Cron constructor.
43
-     *
44
-     * @param $timestamp
45
-     * @param $recurrence
46
-     * @param $action_hook
47
-     * @param $data
48
-     */
49
-    public function __construct($timestamp = 0, $recurrence = '', $action_hook = '', $data = array())
50
-    {
51
-        $this->setTimestamp($timestamp);
52
-        $this->recurrence = $recurrence;
53
-        $this->action_hook = $action_hook;
54
-        $this->data = $data;
55
-    }
56
-
57
-
58
-
59
-    /**
60
-     * @param int $timestamp
61
-     */
62
-    protected function setTimestamp($timestamp)
63
-    {
64
-        $timestamp = absint($timestamp);
65
-        $this->timestamp = $timestamp ? $timestamp : time();
66
-    }
67
-
68
-
69
-    /**
70
-     * @return int
71
-     */
72
-    public function getTimestamp()
73
-    {
74
-        return $this->timestamp;
75
-    }
76
-
77
-
78
-
79
-    /**
80
-     * @return string
81
-     */
82
-    public function getRecurrence()
83
-    {
84
-        return $this->recurrence;
85
-    }
86
-
87
-
88
-
89
-    /**
90
-     * @return string
91
-     */
92
-    public function getActionHook()
93
-    {
94
-        return $this->action_hook;
95
-    }
96
-
97
-
98
-
99
-    /**
100
-     * @return array
101
-     */
102
-    public function getData()
103
-    {
104
-        return $this->data;
105
-    }
19
+	/**
20
+	 * @var $timestamp integer
21
+	 */
22
+	private $timestamp;
23
+
24
+	/**
25
+	 * @var $recurrence string
26
+	 */
27
+	private $recurrence;
28
+
29
+	/**
30
+	 * @var $action_hook string
31
+	 */
32
+	private $action_hook;
33
+
34
+	/**
35
+	 * @var $data array
36
+	 */
37
+	private $data;
38
+
39
+
40
+
41
+	/**
42
+	 * Cron constructor.
43
+	 *
44
+	 * @param $timestamp
45
+	 * @param $recurrence
46
+	 * @param $action_hook
47
+	 * @param $data
48
+	 */
49
+	public function __construct($timestamp = 0, $recurrence = '', $action_hook = '', $data = array())
50
+	{
51
+		$this->setTimestamp($timestamp);
52
+		$this->recurrence = $recurrence;
53
+		$this->action_hook = $action_hook;
54
+		$this->data = $data;
55
+	}
56
+
57
+
58
+
59
+	/**
60
+	 * @param int $timestamp
61
+	 */
62
+	protected function setTimestamp($timestamp)
63
+	{
64
+		$timestamp = absint($timestamp);
65
+		$this->timestamp = $timestamp ? $timestamp : time();
66
+	}
67
+
68
+
69
+	/**
70
+	 * @return int
71
+	 */
72
+	public function getTimestamp()
73
+	{
74
+		return $this->timestamp;
75
+	}
76
+
77
+
78
+
79
+	/**
80
+	 * @return string
81
+	 */
82
+	public function getRecurrence()
83
+	{
84
+		return $this->recurrence;
85
+	}
86
+
87
+
88
+
89
+	/**
90
+	 * @return string
91
+	 */
92
+	public function getActionHook()
93
+	{
94
+		return $this->action_hook;
95
+	}
96
+
97
+
98
+
99
+	/**
100
+	 * @return array
101
+	 */
102
+	public function getData()
103
+	{
104
+		return $this->data;
105
+	}
106 106
 
107 107
 
108 108
 
Please login to merge, or discard this patch.