From 25310345742a70c86df6ac8d0c9c91754d509547 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Thu, 14 May 2015 08:09:41 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/MageTest/PhpSpec/MagentoExtension/Extension.php | 3 +++ .../MagentoExtension/Specification/ControllerBehavior.php | 1 - .../PhpSpec/MagentoExtension/Wrapper/Subject/VarienCaller.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/MageTest/PhpSpec/MagentoExtension/Extension.php b/src/MageTest/PhpSpec/MagentoExtension/Extension.php index ff771d9..7260818 100644 --- a/src/MageTest/PhpSpec/MagentoExtension/Extension.php +++ b/src/MageTest/PhpSpec/MagentoExtension/Extension.php @@ -119,6 +119,9 @@ private function setEvents(ServiceContainer $container) }); } + /** + * @param ServiceContainer $container + */ private function configureAutoloader($container) { $container->addConfigurator(function ($c) { diff --git a/src/MageTest/PhpSpec/MagentoExtension/Specification/ControllerBehavior.php b/src/MageTest/PhpSpec/MagentoExtension/Specification/ControllerBehavior.php index 418f1a4..cb98efc 100644 --- a/src/MageTest/PhpSpec/MagentoExtension/Specification/ControllerBehavior.php +++ b/src/MageTest/PhpSpec/MagentoExtension/Specification/ControllerBehavior.php @@ -23,7 +23,6 @@ namespace MageTest\PhpSpec\MagentoExtension\Specification; use PhpSpec\ObjectBehavior; -use Prophecy\Argument; use Mage_Core_Controller_Request_Http as Request; use Zend_Controller_Response_Abstract as Response; diff --git a/src/MageTest/PhpSpec/MagentoExtension/Wrapper/Subject/VarienCaller.php b/src/MageTest/PhpSpec/MagentoExtension/Wrapper/Subject/VarienCaller.php index d2ac48b..646a04d 100644 --- a/src/MageTest/PhpSpec/MagentoExtension/Wrapper/Subject/VarienCaller.php +++ b/src/MageTest/PhpSpec/MagentoExtension/Wrapper/Subject/VarienCaller.php @@ -319,7 +319,7 @@ private function classNotFound() * @param string $method * @param array $arguments * - * @return \PhpSpec\Exception\Fracture\MethodNotFoundException|\PhpSpec\Exception\Fracture\MethodNotVisibleException + * @return \PhpSpec\Exception\Fracture\NamedConstructorNotFoundException */ private function namedConstructorNotFound($method, array $arguments = array()) {