Постфиксная запись типов вместо префиксной
This commit is contained in:
parent
04662a94df
commit
11370eecc9
33 changed files with 95 additions and 79 deletions
|
|
@ -123,7 +123,7 @@ class Setup
|
|||
return;
|
||||
}
|
||||
|
||||
/*.\SimpleXMLElement.*/$item = $this->stack[count($this->stack) - 1];
|
||||
$item/*: \SimpleXMLElement*/ = $this->stack[count($this->stack) - 1];
|
||||
$root = $item->children();
|
||||
foreach ($root as $node)
|
||||
{
|
||||
|
|
@ -200,7 +200,7 @@ class Setup
|
|||
/**
|
||||
* Выполнение Списка SQL команд
|
||||
*/
|
||||
function batchSQLZip(/*.Database.*/ $conn, $file)
|
||||
function batchSQLZip($conn/*: Database*/, $file)
|
||||
{
|
||||
$stmtList = SQLStatementExtractor::extract($this->zip->getFromName($file));
|
||||
foreach ($stmtList as $stmt) {
|
||||
|
|
@ -208,7 +208,7 @@ class Setup
|
|||
}
|
||||
}
|
||||
|
||||
static function batchSQL(/*.Database.*/ $conn, $file)
|
||||
static function batchSQL($conn/*: Database*/, $file)
|
||||
{
|
||||
$stmtList = SQLStatementExtractor::extractFile($file);
|
||||
foreach ($stmtList as $stmt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue