Completed
Push — master ( eac04a...0acae1 )
by Morris
25:50 queued 09:53
created
lib/public/AppFramework/Utility/ITimeFactory.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@
 block discarded – undo
31 31
  */
32 32
 interface ITimeFactory {
33 33
 
34
-	/**
35
-	 * @return int the result of a call to time()
36
-	 * @since 8.0.0
37
-	 */
38
-	public function getTime(): int;
34
+    /**
35
+     * @return int the result of a call to time()
36
+     * @since 8.0.0
37
+     */
38
+    public function getTime(): int;
39 39
 
40
-	/**
41
-	 * @param string $time
42
-	 * @param \DateTimeZone $timezone
43
-	 * @return \DateTime
44
-	 * @since 15.0.0
45
-	 */
46
-	public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;
40
+    /**
41
+     * @param string $time
42
+     * @param \DateTimeZone $timezone
43
+     * @return \DateTime
44
+     * @since 15.0.0
45
+     */
46
+    public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;
47 47
 
48 48
 }
Please login to merge, or discard this patch.
lib/private/AppFramework/Utility/TimeFactory.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
 class TimeFactory implements ITimeFactory {
35 35
 
36 36
 
37
-	/**
38
-	 * @return int the result of a call to time()
39
-	 */
40
-	public function getTime(): int {
41
-		return time();
42
-	}
43
-
44
-	/**
45
-	 * @param string $time
46
-	 * @param \DateTimeZone $timezone
47
-	 * @return \DateTime
48
-	 * @since 15.0.0
49
-	 */
50
-	public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime {
51
-		return new \DateTime($time, $timezone);
52
-	}
37
+    /**
38
+     * @return int the result of a call to time()
39
+     */
40
+    public function getTime(): int {
41
+        return time();
42
+    }
43
+
44
+    /**
45
+     * @param string $time
46
+     * @param \DateTimeZone $timezone
47
+     * @return \DateTime
48
+     * @since 15.0.0
49
+     */
50
+    public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime {
51
+        return new \DateTime($time, $timezone);
52
+    }
53 53
 
54 54
 }
Please login to merge, or discard this patch.