License now defaults to an empty array

main
Jordi Boggiano 13 years ago
parent 3b9dd59da3
commit 5c8eb355ce

@ -32,7 +32,7 @@ class MemoryPackage extends BasePackage
protected $version; protected $version;
protected $prettyVersion; protected $prettyVersion;
protected $repositories; protected $repositories;
protected $license; protected $license = array();
protected $releaseDate; protected $releaseDate;
protected $keywords; protected $keywords;
protected $authors; protected $authors;
@ -293,9 +293,9 @@ class MemoryPackage extends BasePackage
/** /**
* Set the license * Set the license
* *
* @param string $license * @param array $license
*/ */
public function setLicense($license) public function setLicense(array $license)
{ {
$this->license = $license; $this->license = $license;
} }

Loading…
Cancel
Save