Minor: Comments improved
authorRoland Häder <roland@mxchange.org>
Thu, 29 Nov 2012 16:48:33 +0000 (16:48 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 29 Nov 2012 16:48:33 +0000 (16:48 +0000)
inc/classes/main/compressor/class_Bzip2Compressor.php
inc/classes/main/compressor/class_GzipCompressor.php
inc/classes/main/compressor/class_NullCompressor.php
inc/classes/main/compressor/class_ZlibCompressor.php

index 364838f06a1c1f52d455b2b96b7e1c4409620b08..32991b81273322f985f9a7b592a54acdbc97b15b 100644 (file)
@@ -33,9 +33,9 @@ class Bzip2Compressor extends BaseFrameworkSystem implements Compressor {
        }
 
        /**
-        * Create a new compressor channel based a given compression handler
+        * Create a new compressor channel based a given compression handler or NULL if the required PHP functions are not found.
         *
-        * @return      $compressorInstance             An instance of this class
+        * @return      $compressorInstance             An instance of this class or NULL if the required PHP functions are not found.
         */
        public static final function createBzip2Compressor () {
                // Routines not found by default
@@ -91,7 +91,7 @@ class Bzip2Compressor extends BaseFrameworkSystem implements Compressor {
        /**
         * Getter for the file extension of this compressor
         *
-        * @return      $string         Returns always "bz2"
+        * @return      $string         Returns always 'bz2'
         */
        public final function getCompressorExtension () {
                return 'bz2';
index 2f6275b8d145740c2a88614393b7a6e682024a78..afd0285b8a517012f7c3fd875c57b6672ec50785 100644 (file)
@@ -33,9 +33,9 @@ class GzipCompressor extends BaseFrameworkSystem implements Compressor {
        }
 
        /**
-        * Create a new compressor channel based a given compression handler
+        * Create a new compressor channel based a given compression handler or NULL if the required PHP functions are not found.
         *
-        * @return      $compressorInstance             An instance of this class
+        * @return      $compressorInstance             An instance of this class or NULL if the required PHP functions are not found.
         */
        public static final function createGzipCompressor () {
                // Routines not found by default
index 4417255ab9b8ff2047b7a8fc20dc0711348e6110..cd0934950d6025dd0958592b518a4f0a511e8448 100644 (file)
@@ -82,7 +82,7 @@ class NullCompressor extends BaseFrameworkSystem implements Compressor {
        /**
         * Getter for the file extension of this compressor
         *
-        * @return      $string         Returns always "null"
+        * @return      $string         Returns always 'null'
         */
        public final function getCompressorExtension () {
                return 'null';
index 1fab637765e1979984795cee70f45eb6732b3d25..4dfd989bec30ef0c4fbdc5f1d3b4d3f40e9a90cc 100644 (file)
@@ -33,9 +33,9 @@ class ZlibCompressor extends BaseFrameworkSystem implements Compressor {
        }
 
        /**
-        * Create a new compressor channel based a given compression handler
+        * Create a new compressor channel based a given compression handler or NULL if the required PHP functions are not found.
         *
-        * @return      $compressorInstance             An instance of this class
+        * @return      $compressorInstance             An instance of this class or NULL if the required PHP functions are not found.
         */
        public static final function createZlibCompressor () {
                // Routines not found by default
@@ -88,7 +88,7 @@ class ZlibCompressor extends BaseFrameworkSystem implements Compressor {
        /**
         * Getter for the file extension of this compressor
         *
-        * @return      $string         Returns always 'gz'
+        * @return      $string         Returns always 'z'
         */
        public final function getCompressorExtension () {
                return 'z';