From 3c1cb07e97df1f6fa6def58b5be4dd5530f944cb Mon Sep 17 00:00:00 2001 From: meadsteve Date: Sun, 2 Mar 2014 20:10:48 +0000 Subject: [PATCH] Update test ExamplePluginConfg.php to match test. --- Tests/PHPCI/Plugin/Util/ExamplePluginConfig.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Tests/PHPCI/Plugin/Util/ExamplePluginConfig.php b/Tests/PHPCI/Plugin/Util/ExamplePluginConfig.php index 4e4279b9..0b883071 100644 --- a/Tests/PHPCI/Plugin/Util/ExamplePluginConfig.php +++ b/Tests/PHPCI/Plugin/Util/ExamplePluginConfig.php @@ -4,19 +4,10 @@ return function (PHPCI\Plugin\Util\Factory $factory) { // This function will be called when the resource is needed. function() { return array( - 'Foo' => "Stuff", - 'Bar' => "More Stuff" + 'bar' => "Hello", ); }, - - // In addition to the function for building the resource the system - // also needs to be told when to load the resource. Either or both - // of the following arguments can be used (null to ignore) - - // This resource will only be given when the argument name is: - "ResourceArray", - - // The resource will only be given when the type hint is: - PHPCI\Plugin\Util\Factory::TYPE_ARRAY + "requiredArgument", + null ); }; \ No newline at end of file