@@ -10,25 +10,25 @@ class RecordSimilarityParametersSpec extends ObjectBehavior
1010{
1111 public function it_passes_validation ($ fields , $ properties , $ records )
1212 {
13- $ this ->beConstructedWith ($ fields , $ properties , $ records );
13+ $ this ->beConstructedWith (( array ) $ fields , ( array ) $ properties , ( array ) $ records );
1414 $ this ->shouldNotThrow (RosetteConstants::$ RosetteExceptionFullClassName )->duringValidate ();
1515 }
1616
1717 public function it_has_fields_undefined ($ fields , $ properties , $ records )
1818 {
19- $ this ->beConstructedWith (null , $ properties , $ records );
19+ $ this ->beConstructedWith (( array ) null , ( array ) $ properties , ( array ) $ records );
2020 $ this ->shouldThrow (RosetteConstants::$ RosetteExceptionFullClassName )->duringValidate ();
2121 }
2222
2323 public function it_has_properties_undefined ($ fields , $ properties , $ records )
2424 {
25- $ this ->beConstructedWith ($ fields , null , $ records );
25+ $ this ->beConstructedWith (( array ) $ fields , ( array ) null , ( array ) $ records );
2626 $ this ->shouldThrow (RosetteConstants::$ RosetteExceptionFullClassName )->duringValidate ();
2727 }
2828
2929 public function it_has_records_undefined ($ fields , $ properties , $ records )
3030 {
31- $ this ->beConstructedWith ($ fields , $ properties , null );
31+ $ this ->beConstructedWith (( array ) $ fields , ( array ) $ properties , ( array ) null );
3232 $ this ->shouldThrow (RosetteConstants::$ RosetteExceptionFullClassName )->duringValidate ();
3333 }
3434}
0 commit comments