File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/Symfony/Component/Serializer Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ class Since
3131 public function __construct (array $ data )
3232 {
3333 if (!isset ($ data ['value ' ])) {
34- throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" should be set. ' , \get_class ( $ this ) ));
34+ throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" should be set. ' , static ::class ));
3535 }
3636
3737 if (!\is_string ($ data ['value ' ]) || empty ($ data ['value ' ])) {
38- throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" must be a non-empty string. ' , \get_class ( $ this ) ));
38+ throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" must be a non-empty string. ' , static ::class ));
3939 }
4040
4141 $ this ->version = $ data ['value ' ];
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ class Until
3131 public function __construct (array $ data )
3232 {
3333 if (!isset ($ data ['value ' ])) {
34- throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" should be set. ' , \get_class ( $ this ) ));
34+ throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" should be set. ' , static ::class ));
3535 }
3636
3737 if (!\is_string ($ data ['value ' ]) || empty ($ data ['value ' ])) {
38- throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" must be a non-empty string. ' , \get_class ( $ this ) ));
38+ throw new InvalidArgumentException (sprintf ('Parameter of annotation "%s" must be a non-empty string. ' , static ::class ));
3939 }
4040
4141 $ this ->version = $ data ['value ' ];
Original file line number Diff line number Diff line change 2020use Symfony \Component \Serializer \Tests \Fixtures \AbstractDummy ;
2121use Symfony \Component \Serializer \Tests \Fixtures \AbstractDummyFirstChild ;
2222use Symfony \Component \Serializer \Tests \Fixtures \AbstractDummySecondChild ;
23- use Symfony \Component \Serializer \Tests \Fixtures \IgnoreDummy ;
2423use Symfony \Component \Serializer \Tests \Fixtures \AbstractDummyThirdChild ;
24+ use Symfony \Component \Serializer \Tests \Fixtures \IgnoreDummy ;
2525use Symfony \Component \Serializer \Tests \Mapping \TestClassMetadataFactory ;
2626
2727/**
You can’t perform that action at this time.
0 commit comments