Passed
Pull Request — main (#26)
by Sílvio
02:43
created
src/Exceptions/CacheRedisException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function toJson(int $options = 0)
60 60
     {
61
-      return parent::toJson($options);
61
+        return parent::toJson($options);
62 62
     }
63 63
 }
64 64
 
Please login to merge, or discard this patch.
src/Exceptions/ConnectionException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,6 @@
 block discarded – undo
58 58
      */
59 59
     public function toJson(int $options = 0)
60 60
     {
61
-      return parent::toJson($options);
61
+        return parent::toJson($options);
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
src/Exceptions/CacheDatabaseException.php 2 patches
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -7,39 +7,39 @@  discard block
 block discarded – undo
7 7
 class CacheDatabaseException extends BaseException
8 8
 {
9 9
 
10
-  /** @param string $before */
11
-  private static string $before = "<Database Cache Store Exception>";
10
+    /** @param string $before */
11
+    private static string $before = "<Database Cache Store Exception>";
12 12
 
13
-  /**
14
-   * @param string $message
15
-   * @param int $code
16
-   * @param Exception|null $previous
17
-   * @param array $details
18
-   * @return self
19
-   */
20
-  public static function create(string $message = "", int $code = 0, ?Exception $previous = null, array $details = [])
21
-  {
13
+    /**
14
+     * @param string $message
15
+     * @param int $code
16
+     * @param Exception|null $previous
17
+     * @param array $details
18
+     * @return self
19
+     */
20
+    public static function create(string $message = "", int $code = 0, ?Exception $previous = null, array $details = [])
21
+    {
22 22
     return new self(self::getBefore() . ": " .$message, $code, $previous, $details);
23
-  }
23
+    }
24 24
 
25 25
 
26
-  /**
27
-  * @return string
28
-  */
29
-  public static function getBefore(): string
30
-  {
26
+    /**
27
+     * @return string
28
+     */
29
+    public static function getBefore(): string
30
+    {
31 31
     return self::$before;
32
-  }
32
+    }
33 33
 
34
-  /**
35
-  * @return void
36
-  */
37
-  public static function setBefore(string $text): void
38
-  {
34
+    /**
35
+     * @return void
36
+     */
37
+    public static function setBefore(string $text): void
38
+    {
39 39
     self::$before = $text;
40
-  }
40
+    }
41 41
 
42
-   /*
42
+    /*
43 43
     * @return array
44 44
     */
45 45
     public function toArray()
@@ -61,6 +61,6 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function toJson(int $options = 0)
63 63
     {
64
-      return parent::toJson($options);
64
+        return parent::toJson($options);
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
    */
20 20
   public static function create(string $message = "", int $code = 0, ?Exception $previous = null, array $details = [])
21 21
   {
22
-    return new self(self::getBefore() . ": " .$message, $code, $previous, $details);
22
+    return new self(self::getBefore() . ": " . $message, $code, $previous, $details);
23 23
   }
24 24
 
25 25
 
Please login to merge, or discard this patch.
src/Exceptions/CacheFileException.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function toJson(int $options = 0)
60 60
     {
61
-      return parent::toJson($options);
61
+        return parent::toJson($options);
62 62
     }
63 63
 }
64 64
 
Please login to merge, or discard this patch.