Passed
Push — master ( c73d10...c1344b )
by Stefan
06:00
created
SKien/PNServer/PNDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * @param bool $bAutoRemove     automatic remove of expired subscriptions
62 62
      * @return bool true on success
63 63
      */
64
-    public function init(bool $bAutoRemove=true) : bool;
64
+    public function init(bool $bAutoRemove = true) : bool;
65 65
     
66 66
     /**
67 67
      * Get count of subscriptions.
Please login to merge, or discard this patch.
SKien/PNServer/Utils/Math.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -120,17 +120,17 @@
 block discarded – undo
120 120
     }
121 121
     
122 122
     public static function modSub(\GMP $minuend, \GMP $subtrahend, \GMP $modulus) : \GMP
123
-   	{
124
-   	    return self::mod(self::sub($minuend, $subtrahend), $modulus);
125
-   	}
123
+        {
124
+            return self::mod(self::sub($minuend, $subtrahend), $modulus);
125
+        }
126 126
     
127
-   	public static function modMul(\GMP $multiplier, \GMP $muliplicand, \GMP $modulus) : \GMP
128
-   	{
129
-   	    return self::mod(self::mul($multiplier, $muliplicand), $modulus);
130
-   	}
127
+        public static function modMul(\GMP $multiplier, \GMP $muliplicand, \GMP $modulus) : \GMP
128
+        {
129
+            return self::mod(self::mul($multiplier, $muliplicand), $modulus);
130
+        }
131 131
     
132
-   	public static function modDiv(\GMP $dividend, \GMP $divisor, \GMP $modulus) : \GMP
133
-   	{
134
-   	    return self::mul($dividend, self::inverseMod($divisor, $modulus));
135
-   	}
132
+        public static function modDiv(\GMP $dividend, \GMP $divisor, \GMP $modulus) : \GMP
133
+        {
134
+            return self::mul($dividend, self::inverseMod($divisor, $modulus));
135
+        }
136 136
 }
Please login to merge, or discard this patch.
SKien/PNServer/PNSubscription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * @param int $timeExpiration
40 40
      * @param string $strEncoding
41 41
      */
42
-    public function __construct(string $strEndpoint, string $strPublicKey, string $strAuth, int $timeExpiration=0, string $strEncoding = 'aesgcm') 
42
+    public function __construct(string $strEndpoint, string $strPublicKey, string $strAuth, int $timeExpiration = 0, string $strEncoding = 'aesgcm') 
43 43
     {
44 44
         $this->strEndpoint = $strEndpoint;
45 45
         $this->strPublicKey = $strPublicKey;
Please login to merge, or discard this patch.