@@ -35,7 +35,7 @@ public function testToStringHandlesArrays()
3535 Array
3636EOF;
3737
38- $ this ->assertSame ($ expected , (string )$ violation );
38+ $ this ->assertSame ($ expected , (string ) $ violation );
3939 }
4040
4141 public function testToStringHandlesArrayRoots ()
@@ -54,7 +54,7 @@ public function testToStringHandlesArrayRoots()
5454 42 cannot be used here
5555EOF;
5656
57- $ this ->assertSame ($ expected , (string )$ violation );
57+ $ this ->assertSame ($ expected , (string ) $ violation );
5858 }
5959
6060 public function testToStringHandlesCodes ()
@@ -75,7 +75,7 @@ public function testToStringHandlesCodes()
7575 42 cannot be used here (code 0)
7676EOF;
7777
78- $ this ->assertSame ($ expected , (string )$ violation );
78+ $ this ->assertSame ($ expected , (string ) $ violation );
7979 }
8080
8181 public function testToStringOmitsEmptyCodes ()
@@ -96,7 +96,7 @@ public function testToStringOmitsEmptyCodes()
9696 null
9797 );
9898
99- $ this ->assertSame ($ expected , (string )$ violation );
99+ $ this ->assertSame ($ expected , (string ) $ violation );
100100
101101 $ violation = new ConstraintViolation (
102102 '42 cannot be used here ' ,
@@ -109,7 +109,7 @@ public function testToStringOmitsEmptyCodes()
109109 ''
110110 );
111111
112- $ this ->assertSame ($ expected , (string )$ violation );
112+ $ this ->assertSame ($ expected , (string ) $ violation );
113113 }
114114
115115 public function testMessageCanBeStringableObject ()
@@ -128,7 +128,7 @@ public function testMessageCanBeStringableObject()
128128Root.property.path:
129129 toString
130130EOF;
131- $ this ->assertSame ($ expected , (string )$ violation );
131+ $ this ->assertSame ($ expected , (string ) $ violation );
132132 $ this ->assertSame ($ message , $ violation ->getMessage ());
133133 }
134134
@@ -157,5 +157,4 @@ public function testMessageObjectMustBeStringable()
157157 null
158158 );
159159 }
160-
161160}
0 commit comments