1
0
Fork 0

Return null instead of false

pull/3953/head
Jordi Boggiano 2015-04-18 19:11:12 +01:00
parent 921b3a0eba
commit a32c919145
1 changed files with 2 additions and 2 deletions

View File

@ -49,12 +49,12 @@ class SpdxLicense
* *
* @param string $identifier * @param string $identifier
* *
* @return array|false * @return array|null
*/ */
public function getLicenseByIdentifier($identifier) public function getLicenseByIdentifier($identifier)
{ {
if (!isset($this->licenses[$identifier])) { if (!isset($this->licenses[$identifier])) {
return false; return;
} }
$license = $this->licenses[$identifier]; $license = $this->licenses[$identifier];