* Declare strict type.

This commit is contained in:
tianshujie
2023-11-22 10:08:16 +08:00
parent a87c0d7922
commit 2d2eb8c641
31 changed files with 34 additions and 3 deletions
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of account of ChanzhiEPS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of account module of ChanzhiEPS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of action module of ZenTaoPMS.
*
+4 -3
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
class actionZen extends action
{
/**
@@ -31,7 +32,7 @@ class actionZen extends action
return $preferredType;
}
/**
* 保存当前页面的URL到Session中。
* Save the current page URL to the session.
@@ -129,7 +130,7 @@ class actionZen extends action
if(!empty($productList[$trash->objectID])) $trash->product = $productList[$trash->objectID]->productTitle . ($productList[$trash->objectID]->productDeleted ? "<span class='label danger ml-2'>{$this->lang->story->deleted}</span>" : '');
if(!empty($executionList[$trash->execution])) $trash->execution = $executionList[$trash->execution]->name . ($executionList[$trash->execution]->deleted ? "<span class='label danger ml-2'>{$this->lang->execution->deleted}</span>" : '');
}
/**
* 获取重复的名称和代号。
* Get the repeated name and code.
@@ -165,7 +166,7 @@ class actionZen extends action
/**
* 检查操作记录是否存在。
* Check if the action record exists.
* Check if the action record exists.
*
* @param int $actionID
* @access public
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of admin module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of build module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of build module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of caselib module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of caselib module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of dept module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of execution module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of execution module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of productplan module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of projectBuild module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
class projectplan extends control
{
/**
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of release module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of release module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of projectStory module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of projectStory module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of qa module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of qa module of ZenTaoCMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of release module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of release module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of task module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of case currentModule of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of case module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of testsuite module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of test suite module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of testtask module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The model file of test task module of ZenTaoPMS.
*
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
class testtaskZen extends testtask
{
/**