Completed
Branch dev (276354)
by Raffael
15:43
created
src/app/Balloon.App.Sharelink/Migration/Delta/SharelinkIntoApp.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
             $this->db->storage->updateOne(
50 50
                 ['_id' => $object['_id']],
51 51
                 [
52
-                  '$unset' => ['sharelink' => 1],
53
-                  '$set' => ['app.Balloon\App\Sharelink' => $object['sharelink']],
52
+                    '$unset' => ['sharelink' => 1],
53
+                    '$set' => ['app.Balloon\App\Sharelink' => $object['sharelink']],
54 54
                 ]
55 55
             );
56 56
         }
Please login to merge, or discard this patch.
src/app/Balloon.App.Sharelink/Sharelink.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             if (empty($set['expiration'])) {
69 69
                 unset($set['expiration']);
70 70
             } else {
71
-                $set['expiration'] = (int) $set['expiration'];
71
+                $set['expiration'] = (int)$set['expiration'];
72 72
             }
73 73
         }
74 74
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
         }
161 161
 
162 162
         if (isset($attributes['expiration']) && !empty($attributes['expiration'])) {
163
-            $time = (int) $attributes['expiration'];
163
+            $time = (int)$attributes['expiration'];
164 164
             if ($time < time()) {
165 165
                 throw new Exception\LinkExpired('link is expired');
166 166
             }
Please login to merge, or discard this patch.