1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-10 08:04:14 +02:00

do not define default value

This commit is contained in:
Elan Ruusamäe
2018-01-05 14:28:28 +02:00
parent 76c1edc6ff
commit 5c300aca97
7 changed files with 26 additions and 26 deletions

View File

@@ -45,14 +45,14 @@ class Minify
* *
* @var Minify_CacheInterface * @var Minify_CacheInterface
*/ */
private $cache = null; private $cache;
/** /**
* Active controller for current request * Active controller for current request
* *
* @var Minify_Controller_Base * @var Minify_Controller_Base
*/ */
protected $controller = null; protected $controller;
/** /**
* @var Minify_Env * @var Minify_Env
@@ -74,12 +74,12 @@ class Minify
* *
* @var array * @var array
*/ */
protected $options = null; protected $options;
/** /**
* @var LoggerInterface|null * @var LoggerInterface|null
*/ */
protected $logger = null; protected $logger;
/** /**
* @param Minify_CacheInterface $cache * @param Minify_CacheInterface $cache

View File

@@ -38,14 +38,14 @@ class Minify_ClosureCompiler
* *
* @var string * @var string
*/ */
public static $jarFile = null; public static $jarFile;
/** /**
* Writable temp directory. This must be set before calling minifyJs(). * Writable temp directory. This must be set before calling minifyJs().
* *
* @var string * @var string
*/ */
public static $tempDir = null; public static $tempDir;
/** /**
* Filepath of "java" executable (may be needed if not in shell's PATH) * Filepath of "java" executable (may be needed if not in shell's PATH)

View File

@@ -102,10 +102,10 @@ class Minify_Env
return $path; return $path;
} }
protected $server = null; protected $server;
protected $get = null; protected $get;
protected $post = null; protected $post;
protected $cookie = null; protected $cookie;
/** /**
* Compute $_SERVER['DOCUMENT_ROOT'] for IIS using SCRIPT_FILENAME and SCRIPT_NAME. * Compute $_SERVER['DOCUMENT_ROOT'] for IIS using SCRIPT_FILENAME and SCRIPT_NAME.

View File

@@ -177,11 +177,11 @@ class Minify_HTML
return $placeholder; return $placeholder;
} }
protected $_isXhtml = null; protected $_isXhtml;
protected $_replacementHash = null; protected $_replacementHash;
protected $_placeholders = array(); protected $_placeholders = array();
protected $_cssMinifier = null; protected $_cssMinifier;
protected $_jsMinifier = null; protected $_jsMinifier;
protected function _removePreCB($m) protected function _removePreCB($m)
{ {

View File

@@ -32,15 +32,15 @@ class Minify_ImportProcessor
} }
// allows callback funcs to know the current directory // allows callback funcs to know the current directory
private $_currentDir = null; private $_currentDir;
// allows callback funcs to know the directory of the file that inherits this one // allows callback funcs to know the directory of the file that inherits this one
private $_previewsDir = null; private $_previewsDir;
// allows _importCB to write the fetched content back to the obj // allows _importCB to write the fetched content back to the obj
private $_importedContent = ''; private $_importedContent = '';
private static $_isCss = null; private static $_isCss;
/** /**
* @param String $currentDir * @param String $currentDir

View File

@@ -19,12 +19,12 @@ class Minify_Source implements Minify_SourceInterface
/** /**
* @var int time of last modification * @var int time of last modification
*/ */
protected $lastModified = null; protected $lastModified;
/** /**
* @var callback minifier function specifically for this source. * @var callback minifier function specifically for this source.
*/ */
protected $minifier = null; protected $minifier;
/** /**
* @var array minification options specific to this source. * @var array minification options specific to this source.
@@ -34,27 +34,27 @@ class Minify_Source implements Minify_SourceInterface
/** /**
* @var string full path of file * @var string full path of file
*/ */
protected $filepath = null; protected $filepath;
/** /**
* @var string HTTP Content Type (Minify requires one of the constants Minify::TYPE_*) * @var string HTTP Content Type (Minify requires one of the constants Minify::TYPE_*)
*/ */
protected $contentType = null; protected $contentType;
/** /**
* @var string * @var string
*/ */
protected $content = null; protected $content;
/** /**
* @var callable * @var callable
*/ */
protected $getContentFunc = null; protected $getContentFunc;
/** /**
* @var string * @var string
*/ */
protected $id = null; protected $id;
/** /**
* Create a Minify_Source * Create a Minify_Source

View File

@@ -38,7 +38,7 @@ class Minify_YUICompressor
* *
* @var string * @var string
*/ */
public static $jarFile = null; public static $jarFile;
/** /**
* Writable temp directory. This must be set before calling minifyJs() * Writable temp directory. This must be set before calling minifyJs()
@@ -46,7 +46,7 @@ class Minify_YUICompressor
* *
* @var string * @var string
*/ */
public static $tempDir = null; public static $tempDir;
/** /**
* Filepath of "java" executable (may be needed if not in shell's PATH) * Filepath of "java" executable (may be needed if not in shell's PATH)