Skip to content

Commit c2e46c7

Browse files
committed
lint fix
1 parent 3e8dab2 commit c2e46c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Serializer/Tests/AbstractItemNormalizerTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ public function testDenormalizeWithSecuredPropertyAndThrowOnAccessDeniedExtraPro
346346
return \array_key_exists('property', $context)
347347
&& \array_key_exists('object', $context)
348348
&& \array_key_exists('previous_object', $context)
349-
&& $context['property'] === 'adminOnlyProperty'
350-
&& $context['previous_object'] === null
349+
&& 'adminOnlyProperty' === $context['property']
350+
&& null === $context['previous_object']
351351
&& $context['object'] instanceof SecuredDummy;
352352
})
353353
)->willReturn(false);
@@ -399,8 +399,8 @@ public function testDenormalizeWithSecuredPropertyAndThrowOnAccessDeniedExtraPro
399399
return \array_key_exists('property', $context)
400400
&& \array_key_exists('object', $context)
401401
&& \array_key_exists('previous_object', $context)
402-
&& $context['property'] === 'adminOnlyProperty'
403-
&& $context['previous_object'] === null
402+
&& 'adminOnlyProperty' === $context['property']
403+
&& null === $context['previous_object']
404404
&& $context['object'] instanceof SecuredDummy;
405405
})
406406
)->willReturn(false);
@@ -456,8 +456,8 @@ public function testDenormalizeWithSecuredPropertyAndThrowOnAccessDeniedExtraPro
456456
return \array_key_exists('property', $context)
457457
&& \array_key_exists('object', $context)
458458
&& \array_key_exists('previous_object', $context)
459-
&& $context['property'] === 'adminOnlyProperty'
460-
&& $context['previous_object'] === null
459+
&& 'adminOnlyProperty' === $context['property']
460+
&& null === $context['previous_object']
461461
&& $context['object'] instanceof SecuredDummy;
462462
})
463463
)->willReturn(false);

0 commit comments

Comments
 (0)