1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Make Event devMode argument optional (false by default).

This commit is contained in:
Ronny López 2013-01-10 18:12:46 +01:00
parent e5cbf83185
commit f627c3c603
3 changed files with 9 additions and 5 deletions

View file

@ -50,7 +50,7 @@ class Event
* @param IOInterface $io The IOInterface object
* @param boolean $devMode Whether or not we are in dev mode
*/
public function __construct($name, Composer $composer, IOInterface $io, $devMode)
public function __construct($name, Composer $composer, IOInterface $io, $devMode = false)
{
$this->name = $name;
$this->composer = $composer;