Loader::registerNamespace(): correct exception message

This commit is contained in:
Alexander Klimov 2014-08-21 12:40:41 +02:00
parent 30d0ebcdfd
commit 8733238a6e
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ class Loader
{
if (!is_dir($directory)) {
throw new ProgrammingError(sprintf(
'Namespace directory "%s" for "%s" does not exist',
$namespace,
$directory
'Directory "%s" for namespace "%s" does not exist',
$directory,
$namespace
));
}