* @throws NoClassException If the requested class was not found
* @throws InvalidArgumentException If className is empty or the name not following naming-convention
*/
- public static final function createObjectByName ($fullClassName, array $args = array()) {
+ public static final function createObjectByName ($fullClassName, array $args = []) {
// Is the class name valid and is the class there?
if (empty($fullClassName)) {
// Throw an exception here
* @param $args Arguments in an indexed array
* @return $objectInstance An instance of the requested object
*/
- public static final function createObjectByConfiguredName ($configEntry, array $args = array()) {
+ public static final function createObjectByConfiguredName ($configEntry, array $args = []) {
// Read the configuration entry
$fullClassName = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry($configEntry);