Типы для php-lint v2
This commit is contained in:
parent
f570da257d
commit
6173eb4892
31 changed files with 83 additions and 76 deletions
|
|
@ -26,7 +26,7 @@ class Tools_TemplateImage
|
|||
'miriad' => 'MyriadPro-Cond.ttf',
|
||||
'miriadbd' => 'MyriadPro-BoldCond.ttf'
|
||||
|
||||
);
|
||||
);
|
||||
|
||||
protected $src;
|
||||
protected $context = array();
|
||||
|
|
@ -35,6 +35,8 @@ class Tools_TemplateImage
|
|||
protected $image;
|
||||
protected $prepare = true;
|
||||
public $debug = false;
|
||||
public $filename;
|
||||
public $resource;
|
||||
|
||||
function __construct ($template = false)
|
||||
{
|
||||
|
|
@ -116,7 +118,7 @@ class Tools_TemplateImage
|
|||
return "";
|
||||
}
|
||||
|
||||
function imageText($text, $value)
|
||||
function imageText($text, $value/*: stdClass*/)
|
||||
{
|
||||
assert(is_string($text));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue