@@ -29,14 +29,14 @@ final class Error extends AbstractElement
2929 */
3030 protected function parse ($ object ): void
3131 {
32- if (! is_object ($ object )) {
32+ if (!is_object ($ object )) {
3333 throw new ValidationException (
3434 'Error has to be an object, " ' . gettype ($ object ) . '" given. '
3535 );
3636 }
3737
3838 if (property_exists ($ object , 'id ' )) {
39- if (! is_string ($ object ->id )) {
39+ if (!is_string ($ object ->id )) {
4040 throw new ValidationException (
4141 'property "id" has to be a string, " ' .
4242 gettype ($ object ->id ) . '" given. '
@@ -51,7 +51,7 @@ protected function parse($object): void
5151 }
5252
5353 if (property_exists ($ object , 'status ' )) {
54- if (! is_string ($ object ->status )) {
54+ if (!is_string ($ object ->status )) {
5555 throw new ValidationException (
5656 'property "status" has to be a string, " ' .
5757 gettype ($ object ->status ) . '" given. '
@@ -62,7 +62,7 @@ protected function parse($object): void
6262 }
6363
6464 if (property_exists ($ object , 'code ' )) {
65- if (! is_string ($ object ->code )) {
65+ if (!is_string ($ object ->code )) {
6666 throw new ValidationException (
6767 'property "code" has to be a string, " ' .
6868 gettype ($ object ->code ) . '" given. '
@@ -73,7 +73,7 @@ protected function parse($object): void
7373 }
7474
7575 if (property_exists ($ object , 'title ' )) {
76- if (! is_string ($ object ->title )) {
76+ if (!is_string ($ object ->title )) {
7777 throw new ValidationException (
7878 'property "title" has to be a string, " ' .
7979 gettype ($ object ->title ) . '" given. '
@@ -84,7 +84,7 @@ protected function parse($object): void
8484 }
8585
8686 if (property_exists ($ object , 'detail ' )) {
87- if (! is_string ($ object ->detail )) {
87+ if (!is_string ($ object ->detail )) {
8888 throw new ValidationException (
8989 'property "detail" has to be a string, " ' .
9090 gettype ($ object ->detail ) . '" given. '
0 commit comments