Permalink
Browse files

Merge branch 'hotfix/sm-tests'

  • Loading branch information...
2 parents 45d98b4 + 9df6c79 commit 4c517da3d2d5701e9ce8f9f5045b051c04d5b1a4 @weierophinney weierophinney committed Oct 10, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/ZendTest/ServiceManager/TestAsset/Bar.php
View
5 tests/ZendTest/ServiceManager/TestAsset/Bar.php
@@ -12,7 +12,10 @@
class Bar
{
- public function __construct(array $foo)
+ public function __construct(array $foo = null)
{
+ if (null === $foo) {
+ throw new \RuntimeException();
+ }
}
}

0 comments on commit 4c517da

Please sign in to comment.