Mercurial > hg > cmmr2012-drupal-site
diff core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Thu Feb 28 13:11:55 2019 +0000 @@ -61,7 +61,7 @@ // Test with a raw value that overrides the provided upcast value, since // it is not typehinted. - $scalars = ['foo' => 'baz']; + $scalars = ['foo' => 'baz']; $objects = ['foo' => new \stdClass()]; $data[] = [ function ($foo) {}, $scalars, $objects, [], ['baz'], @@ -206,6 +206,7 @@ * Provides a test class. */ class TestClass { + public function access($foo) { }