fix: phpstan level=3
This commit is contained in:
parent
277a297b8a
commit
4fc2e2ac7d
16 changed files with 69 additions and 54 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -38,9 +38,6 @@ class TemplateImage
|
|||
protected $image;
|
||||
protected $_prepare = true;
|
||||
public $debug = false;
|
||||
public $filename;
|
||||
public $resource;
|
||||
|
||||
public $resource;
|
||||
public $filename;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue