fix: phpstan level=3

This commit is contained in:
origami11@yandex.ru 2024-01-22 19:56:45 +03:00
parent 277a297b8a
commit 4fc2e2ac7d
16 changed files with 69 additions and 54 deletions

View file

@ -50,7 +50,7 @@ class SQLStatementExtractor {
/**
* Extract statements from string.
*
* @param string $txt
* @param string $buffer
* @return array
*/
public static function extract($buffer) {
@ -61,7 +61,7 @@ class SQLStatementExtractor {
* Extract SQL statements from array of lines.
*
* @param array $lines Lines of the read-in file.
* @return string
* @return array
*/
protected static function extractStatements($lines) {
@ -156,7 +156,7 @@ class SQLStatementExtractor {
/**
* Convert string buffer into array of lines.
*
* @param string $filename
* @param string $buffer
* @return array string[] lines of file.
*/
protected static function getLines($buffer) {

View file

@ -38,9 +38,6 @@ class TemplateImage
protected $image;
protected $_prepare = true;
public $debug = false;
public $filename;
public $resource;
public $resource;
public $filename;