Completed
Pull Request — master (#3)
by methylbro
03:12
created
examples/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
  * @param string $operation
30 30
  * @param callable $callback
31 31
  */
32
-$handle = function ($operation, $callback) use ($identity, $encryption, $public_key) {
32
+$handle = function($operation, $callback) use ($identity, $encryption, $public_key) {
33 33
     try {
34 34
         $request = ServerRequestFactory::fromGlobals();
35 35
         $transaction = new Transaction($identity, $encryption, $request);
Please login to merge, or discard this patch.
src/Security/Encryption.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         $result = rtrim($result, "\0");
104 104
 
105 105
         $decodedJson = json_decode($result, true);
106
-        $result = null!==$decodedJson ? $decodedJson : $result;
106
+        $result = null !== $decodedJson ? $decodedJson : $result;
107 107
 
108 108
         $this->logger->debug('Uncrypting message', [$message, $result]);
109 109
 
Please login to merge, or discard this patch.