if (empty($mode)) {
// No filename given
throw new InvalidArgumentException('Parameter "mode" is empty');
- } // END - if
+ }
// Try to open a handler
$fileObject = $fileInstance->openFile($mode);
if ((is_null($fileObject)) || ($fileObject === false)) {
// Something bad happend
throw new FileIoException($fileInstance, self::EXCEPTION_FILE_POINTER_INVALID);
- } // END - if
+ }
// Create new instance
$pointerInstance = new FrameworkTextFileOutputPointer();