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:
parent
e5cbf83185
commit
f627c3c603
3 changed files with 9 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue