]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/class_BaseFrameworkSystem.php
Continued:
[core.git] / framework / main / classes / class_BaseFrameworkSystem.php
index 0e9a1b441b0bdeadcf53d19d4c781b3eedcaf42d..d043576bf59f18b690dd86ba4e5d72ed4890774f 100644 (file)
@@ -1869,7 +1869,7 @@ Loaded includes:
         * a configured temporary file path to it.
         *
         * @param       $infoInstance   An instance of a SplFileInfo class
-        * @return      $tempInstance   An instance of a SplFileInfo class (temporary file)
+        * @return      $fileInfoInstance       An instance of a SplFileInfo class (temporary file)
         * @throw       PathWriteProtectedException If the path in 'temp_file_path' is write-protected
         * @throws      FileIoException If the file cannot be written
         */
@@ -1886,17 +1886,17 @@ Loaded includes:
                }
 
                // Add it
-               $tempInstance = new SplFileInfo($basePath . DIRECTORY_SEPARATOR . $infoInstance->getBasename());
+               $fileInfoInstance = new SplFileInfo($basePath . DIRECTORY_SEPARATOR . $infoInstance->getBasename());
 
                // Is it reachable?
-               if (!FrameworkBootstrap::isReachableFilePath($tempInstance)) {
+               if (!FrameworkBootstrap::isReachableFilePath($fileInfoInstance)) {
                        // Not reachable
-                       throw new FileIoException($tempInstance, self::EXCEPTION_FILE_NOT_REACHABLE);
+                       throw new FileIoException($fileInfoInstance, self::EXCEPTION_FILE_NOT_REACHABLE);
                }
 
                // Return it
-               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-FRAMEWORK-SYSTEM: tempInstance=%s - EXIT!', $tempInstance->__toString()));
-               return $tempInstance;
+               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-FRAMEWORK-SYSTEM: fileInfoInstance=%s - EXIT!', $fileInfoInstance->__toString()));
+               return $fileInfoInstance;
         }
 
        /**