@@ -42,7 +42,7 @@ discard block |
||
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 |
||
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 |