core/Command/Config/Import.php
/**
	 * Validates that app configs are only integers and strings
	 *
	 * @param array $array
	 */
Validates that app configs are only integers and strings
@param array $array
Validates that app configs are only integers and strings @param array $array
protected function validateAppsArray($array) {
		foreach ($array as $app => $configs) {
			foreach ($configs as $name => $value) {
				if (!is_int($value) && !is_string($value) && !is_null($value)) {
					throw new \UnexpectedValueException('Invalid app config value for "' . $app . '":"' . $name . '". Only integers, strings and null (delete) are allowed.');
				}
			}
		}
	}
protected function validateAppsArray ( $ array ) { foreach ( $ array as $ app => $ configs ) { foreach ( $ configs as $ name => $ value ) { if ( ! is_int ( $ value ) && ! is_string ( $ value ) && ! is_null ( $ value ) ) { throw new \ UnexpectedValueException ( 'Invalid app config value for "' . $ app . '":"' . $ name . '". Only integers, strings and null (delete) are allowed.' ) ; } } } }
Validates that app configs are only integers and strings
 @param array $array
Validates that app configs are only integers and strings @param array $array