if ( !array_key_exists( $var, $GLOBALS ) ) {
throw new ConfigException( __METHOD__ . ": undefined variable: '$var'" );
}
- return $GLOBALS[ $var ];
+ return $GLOBALS[$var];
}
/**
*
* @param string $prefix Prefix to use on the variable
* @param string $name Variable name without prefix
- * @param mixed $value value to set
+ * @param mixed $value Value to set
*/
protected function setWithPrefix( $prefix, $name, $value ) {
- $GLOBALS[ $prefix . $name ] = $value;
+ $GLOBALS[$prefix . $name] = $value;
}
}