浏览代码

Fixing Undefined variable: writeEvent

Miha Vrhovnik 14 年之前
父节点
当前提交
fb9944ee6b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php

+ 1 - 1
src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php

@@ -47,7 +47,7 @@ class DumpCommand extends Command
         $am = $this->container->get('assetic.asset_manager');
 
         // notify an event so custom stream wrappers can be registered lazily
-        $event = new WriteEvent($basePath);
+        $writeEvent = new WriteEvent($basePath);
         $this->container->get('event_dispatcher')->dispatch(Events::onAsseticWrite, $writeEvent);
 
         if ($input->getOption('watch')) {