1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-08 23:26:43 +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
*/
private $cache = null;
private $cache;
/**
* Active controller for current request
*
* @var Minify_Controller_Base
*/
protected $controller = null;
protected $controller;
/**
* @var Minify_Env
@@ -74,12 +74,12 @@ class Minify
*
* @var array
*/
protected $options = null;
protected $options;
/**
* @var LoggerInterface|null
*/
protected $logger = null;
protected $logger;
/**
* @param Minify_CacheInterface $cache

View File

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

View File

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

View File

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

View File

@@ -32,15 +32,15 @@ class Minify_ImportProcessor
}
// 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
private $_previewsDir = null;
private $_previewsDir;
// allows _importCB to write the fetched content back to the obj
private $_importedContent = '';
private static $_isCss = null;
private static $_isCss;
/**
* @param String $currentDir

View File

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

View File

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