@@ -36,8 +36,8 @@ protected function parse(mixed $object): void
3636 if (property_exists ($ object , 'id ' )) {
3737 if (!is_string ($ object ->id )) {
3838 throw new ValidationException (
39- 'property "id" has to be a string, " ' .
40- gettype ($ object ->id ) . '" given. '
39+ 'property "id" has to be a string, " '
40+ . gettype ($ object ->id ) . '" given. '
4141 );
4242 }
4343
@@ -51,8 +51,8 @@ protected function parse(mixed $object): void
5151 if (property_exists ($ object , 'status ' )) {
5252 if (!is_string ($ object ->status )) {
5353 throw new ValidationException (
54- 'property "status" has to be a string, " ' .
55- gettype ($ object ->status ) . '" given. '
54+ 'property "status" has to be a string, " '
55+ . gettype ($ object ->status ) . '" given. '
5656 );
5757 }
5858
@@ -62,8 +62,8 @@ protected function parse(mixed $object): void
6262 if (property_exists ($ object , 'code ' )) {
6363 if (!is_string ($ object ->code )) {
6464 throw new ValidationException (
65- 'property "code" has to be a string, " ' .
66- gettype ($ object ->code ) . '" given. '
65+ 'property "code" has to be a string, " '
66+ . gettype ($ object ->code ) . '" given. '
6767 );
6868 }
6969
@@ -73,8 +73,8 @@ protected function parse(mixed $object): void
7373 if (property_exists ($ object , 'title ' )) {
7474 if (!is_string ($ object ->title )) {
7575 throw new ValidationException (
76- 'property "title" has to be a string, " ' .
77- gettype ($ object ->title ) . '" given. '
76+ 'property "title" has to be a string, " '
77+ . gettype ($ object ->title ) . '" given. '
7878 );
7979 }
8080
@@ -84,8 +84,8 @@ protected function parse(mixed $object): void
8484 if (property_exists ($ object , 'detail ' )) {
8585 if (!is_string ($ object ->detail )) {
8686 throw new ValidationException (
87- 'property "detail" has to be a string, " ' .
88- gettype ($ object ->detail ) . '" given. '
87+ 'property "detail" has to be a string, " '
88+ . gettype ($ object ->detail ) . '" given. '
8989 );
9090 }
9191
0 commit comments