Permalink
Browse files

error on line80 corrected

  • Loading branch information...
1 parent ec84d2c commit c18237c9265c2ccc0e9bfdef9159fd7f327a2561 mparaiso committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Mparaiso/Provider/DoctrineORMServiceProvider.php
@@ -77,7 +77,7 @@ public function register(Application $app)
*/
$app["orm.em"] = $app->share(function ($app) use ($self) {
foreach ($app["orm.driver.configs"] as $key => $config) {
- if(! is_array($config['paths'])throw new Exception(' $config["paths"] must be an array of paths ');
+ if(! is_array($config['paths']))throw new Exception(' $config["paths"] must be an array of paths ');
if ($key == "default") {
$app["orm.chain_driver"]->setDefaultDriver($self->getDriver($config['type'], $config['paths'], $app["orm.config"]));
}

0 comments on commit c18237c

Please sign in to comment.