Completed
Pull Request — master (#453)
by Daniel
13:53
created
src/JMS/Serializer/GenericSerializationVisitor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         $propMetadata->name = $propertyName;
207 207
         $key = $this->namingStrategy->translateName($propMetadata);
208 208
 
209
-        if (!array_key_exists($key, $this->data)) {
209
+        if ( ! array_key_exists($key, $this->data)) {
210 210
             throw new InvalidArgumentException(sprintf('There is no data for "%s".', $key));
211 211
         }
212 212
 
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      */
224 224
     public function removeData($key)
225 225
     {
226
-        if (!array_key_exists($key, $this->data)) {
226
+        if ( ! array_key_exists($key, $this->data)) {
227 227
             throw new InvalidArgumentException(sprintf('There is no data for "%s".', $key));
228 228
         }
229 229
 
Please login to merge, or discard this patch.