Passed
Pull Request — main (#24)
by Anatoly
04:51 queued 15s
created
tests/HydratorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -558,7 +558,7 @@
 block discarded – undo
558 558
     {
559 559
         $this->expectException(UnsupportedPropertyTypeException::class);
560 560
         $this->expectExceptionMessage(sprintf(
561
-            'The property %1$s.%2$s must contain the attribute %3$s, ' .
561
+            'The property %1$s.%2$s must contain the attribute %3$s, '.
562 562
             'for example: #[\%3$s(\DateTimeInterface::DATE_RFC3339)].',
563 563
             ObjectWithUnformattedTimestampProperty::class,
564 564
             'value',
Please login to merge, or discard this patch.
src/Hydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -571,7 +571,7 @@
 block discarded – undo
571 571
         $format = $this->getPropertyAnnotation($property, Format::class);
572 572
         if (!isset($format)) {
573 573
             throw new Exception\UnsupportedPropertyTypeException(sprintf(
574
-                'The property %1$s.%2$s must contain the attribute %3$s, ' .
574
+                'The property %1$s.%2$s must contain the attribute %3$s, '.
575 575
                 'for example: #[\%3$s(\DateTimeInterface::DATE_RFC3339)].',
576 576
                 $property->getDeclaringClass()->getName(),
577 577
                 $property->getName(),
Please login to merge, or discard this patch.