Skip to content

Commit 818d550

Browse files
committed
Merge pull request #102 from MageTest/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2 parents 794601d + 2531034 commit 818d550

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/MageTest/PhpSpec/MagentoExtension/Extension.php

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ private function setEvents(ServiceContainer $container)
119119
});
120120
}
121121

122+
/**
123+
* @param ServiceContainer $container
124+
*/
122125
private function configureAutoloader($container)
123126
{
124127
$container->addConfigurator(function ($c) {

src/MageTest/PhpSpec/MagentoExtension/Specification/ControllerBehavior.php

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
namespace MageTest\PhpSpec\MagentoExtension\Specification;
2424

2525
use PhpSpec\ObjectBehavior;
26-
use Prophecy\Argument;
2726
use Mage_Core_Controller_Request_Http as Request;
2827
use Zend_Controller_Response_Abstract as Response;
2928

src/MageTest/PhpSpec/MagentoExtension/Wrapper/Subject/VarienCaller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private function classNotFound()
319319
* @param string $method
320320
* @param array $arguments
321321
*
322-
* @return \PhpSpec\Exception\Fracture\MethodNotFoundException|\PhpSpec\Exception\Fracture\MethodNotVisibleException
322+
* @return \PhpSpec\Exception\Fracture\NamedConstructorNotFoundException
323323
*/
324324
private function namedConstructorNotFound($method, array $arguments = array())
325325
{

0 commit comments

Comments
 (0)