1
0
Fork 0

Throw InvalidArgumentException on invalid platform packages in config.

It's a user provided configuration value that's wrong so
it makes more sense.
pull/2990/head
Joakim Israelsson 2014-05-15 11:23:19 +02:00
parent ac89a5bb3b
commit 19b3955022
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class PlatformRepository extends ArrayRepository
parent::addPackage($package);
}
else {
throw new \UnexpectedValueException('Invalid platform package "'.$name);
throw new \InvalidArgumentException('Invalid platform package '.$name);
}
}