Cancelled
Pull Request — master (#44)
by
unknown
34s
created
src/RateLimitedNotification.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             if ($strategy == 'serialize') {
43 43
                 return [$serialized_notification];
44 44
             } else {
45
-                if(! in_array($strategy, hash_algos())) {
45
+                if (!in_array($strategy, hash_algos())) {
46 46
                     throw new \Exception("Unsupported unique notification strategy hashing algorithm: $strategy");
47 47
                 }
48 48
 
@@ -117,15 +117,15 @@  discard block
 block discarded – undo
117 117
             $key = $notifiable->rateLimitNotifiableKey();
118 118
         }
119 119
 
120
-        if (! $key && method_exists($notifiable, 'getKey')) {
120
+        if (!$key && method_exists($notifiable, 'getKey')) {
121 121
             $key = $notifiable->getKey();
122 122
         }
123 123
 
124
-        if (! $key && property_exists($notifiable, 'id')) {
124
+        if (!$key && property_exists($notifiable, 'id')) {
125 125
             $key = $notifiable->id;
126 126
         }
127 127
 
128
-        if (! $key) {
128
+        if (!$key) {
129 129
             $key = md5(json_encode($notifiable));
130 130
         }
131 131
 
Please login to merge, or discard this patch.