You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
array(true, 'string', 'The option "option" with value true is expected to be of type "string", but is of type "boolean".'),
516
+
array(false, 'string', 'The option "option" with value false is expected to be of type "string", but is of type "boolean".'),
517
+
array(fopen(__FILE__, 'r'), 'string', 'The option "option" with value resource is expected to be of type "string", but is of type "resource".'),
518
+
array(array(), 'string', 'The option "option" with value array is expected to be of type "string", but is of type "array".'),
519
+
array(newOptionsResolver(), 'string', 'The option "option" with value Symfony\Component\OptionsResolver\OptionsResolver is expected to be of type "string", but is of type "Symfony\Component\OptionsResolver\OptionsResolver".'),
520
+
array(42, 'string', 'The option "option" with value 42 is expected to be of type "string", but is of type "integer".'),
521
+
array(null, 'string', 'The option "option" with value null is expected to be of type "string", but is of type "NULL".'),
522
+
array('bar', '\stdClass', 'The option "option" with value "bar" is expected to be of type "\stdClass", but is of type "string".'),
523
+
);
523
524
}
524
525
525
526
publicfunctiontestResolveSucceedsIfValidType()
@@ -550,17 +551,6 @@ public function testResolveSucceedsIfValidTypeMultiple()
0 commit comments