|
@@ -187,11 +187,11 @@ |
|
|
block discarded – undo |
|
187
|
187
|
// If the payload is not valid JSON or does not have the proper keys set we will |
|
188
|
188
|
// assume it is invalid and bail out of the routine since we will not be able |
|
189
|
189
|
// to decrypt the given value. We'll also check the MAC for this encryption. |
|
190
|
|
- if (! $this->validPayload($payload)) { |
|
|
190
|
+ if (!$this->validPayload($payload)) { |
|
191
|
191
|
throw new DecryptException('The payload is invalid.'); |
|
192
|
192
|
} |
|
193
|
193
|
|
|
194
|
|
- if (! $this->validMac($payload)) { |
|
|
194
|
+ if (!$this->validMac($payload)) { |
|
195
|
195
|
throw new DecryptException('The MAC is invalid.'); |
|
196
|
196
|
} |
|
197
|
197
|
|
Please login to merge, or discard this patch.