Fixed some typos (#12847)

This commit is contained in:
Alexey Rogachev
2016-10-26 17:02:38 +06:00
committed by Alexander Makarov
parent 22a90cb817
commit e8c16a09fa
2 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ class BaseArrayHelper
if (is_object($array)) {
// this is expected to fail if the property does not exist, or __get() is not implemented
// it is not reliably possible to check whether a property is accessable beforehand
// it is not reliably possible to check whether a property is accessible beforehand
return $array->$key;
} elseif (is_array($array)) {
return (isset($array[$key]) || array_key_exists($key, $array)) ? $array[$key] : $default;