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