Adding Project Dependency throws an exception

Permalink 0 0 Browser Info Environment
After trying to adding a package dependency using:
protected $packageDependencies = [
             'addon_package_name' => true
];

Concrete 5 throws an error "Illegal offset type in isset or empty" in the file concrete\src\Package\Package.php @ function getErrorText on line 1161;
When i corrected ( this is the code from the mentioned file from line 1161 to 1165 )
if (isset($dictionary[$errorCode])) {
    $result = $dictionary[$errorCode];
} else {
    $result = (string) $errorCode;
}


to
if (isset($dictionary[(string)$errorCode])) {
      $result = $dictionary[(string)$errorCode];
} else {
      $result = (string) $errorCode;
}

the package installation process threw the proper error for the package dependency.


Status: New

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
None

# concrete5 Overrides
controllers/page_types/single_store_product.php, controllers/page_types

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.20

# Server API
apache2handler

# PHP Version
5.6.20

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib

# PHP Settings
max_execution_time - 180
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 300M
post_max_size - 40M
sql.safe_mode - Off
upload_max_filesize - 30M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36