Passed
Push — master ( 51e303...f89ee0 )
by Patryk
05:19 queued 04:05
created
src/Cache/Cache.php 3 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
 
5 5
 class Cache implements CacheInterface
6 6
 {
7
-    /**
8
-     * change cache parameter
9
-     *
10
-     * @param  bool $is
11
-     * @param  int  $time
12
-     * @return bool
13
-     */
14
-    public static function setCache($is, $time)
15
-    {
16
-        if($is==true && is_numeric($time) && is_int($time)){
17
-            $output = true;
18
-        }else{
19
-            $output = false;
20
-        }
21
-        return $output;
22
-    }
7
+	/**
8
+	 * change cache parameter
9
+	 *
10
+	 * @param  bool $is
11
+	 * @param  int  $time
12
+	 * @return bool
13
+	 */
14
+	public static function setCache($is, $time)
15
+	{
16
+		if($is==true && is_numeric($time) && is_int($time)){
17
+			$output = true;
18
+		}else{
19
+			$output = false;
20
+		}
21
+		return $output;
22
+	}
23 23
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
      */
14 14
     public static function setCache($is, $time)
15 15
     {
16
-        if($is==true && is_numeric($time) && is_int($time)){
16
+        if ($is==true && is_numeric($time) && is_int($time)) {
17 17
             $output = true;
18
-        }else{
18
+        }else {
19 19
             $output = false;
20 20
         }
21 21
         return $output;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         if($is==true && is_numeric($time) && is_int($time)){
17 17
             $output = true;
18
-        }else{
18
+        } else{
19 19
             $output = false;
20 20
         }
21 21
         return $output;
Please login to merge, or discard this patch.