CODE STYLE and fixing two behat test
This commit is contained in:
@@ -496,7 +496,7 @@ class Model
|
||||
|
||||
public static function updateDiagram($prjUid, $proUid, $diff)
|
||||
{
|
||||
echo 'DIFF'. PHP_EOL;
|
||||
echo 'DIFF'. PHP_EOL;
|
||||
print_r($diff);
|
||||
|
||||
//return false;
|
||||
@@ -606,7 +606,7 @@ class Model
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function deleteProject($prjUid)
|
||||
{
|
||||
$project = self::loadProject($prjUid);
|
||||
|
||||
@@ -75,15 +75,15 @@ class DataBaseConnection extends Api
|
||||
* @status 201
|
||||
*/
|
||||
public function doPostDataBaseConnection(
|
||||
$projectUid,
|
||||
$request_data,
|
||||
$dbs_type,
|
||||
$projectUid,
|
||||
$request_data,
|
||||
$dbs_type,
|
||||
$dbs_server,
|
||||
$dbs_database_name,
|
||||
$dbs_username,
|
||||
$dbs_port,
|
||||
$dbs_encode,
|
||||
$dbs_password = '',
|
||||
$dbs_database_name,
|
||||
$dbs_username,
|
||||
$dbs_port,
|
||||
$dbs_encode,
|
||||
$dbs_password = '',
|
||||
$dbs_description = ''
|
||||
) {
|
||||
try {
|
||||
@@ -116,16 +116,16 @@ class DataBaseConnection extends Api
|
||||
* @url PUT /:projectUid/database-connection/:dbConnecionUid
|
||||
*/
|
||||
public function doPutDataBaseConnection(
|
||||
$projectUid,
|
||||
$dbConnecionUid,
|
||||
$request_data,
|
||||
$dbs_type,
|
||||
$projectUid,
|
||||
$dbConnecionUid,
|
||||
$request_data,
|
||||
$dbs_type,
|
||||
$dbs_server,
|
||||
$dbs_database_name,
|
||||
$dbs_username,
|
||||
$dbs_port,
|
||||
$dbs_encode,
|
||||
$dbs_password = '',
|
||||
$dbs_database_name,
|
||||
$dbs_username,
|
||||
$dbs_port,
|
||||
$dbs_encode,
|
||||
$dbs_password = '',
|
||||
$dbs_description = ''
|
||||
) {
|
||||
try {
|
||||
|
||||
@@ -78,7 +78,7 @@ class OutputDocuments extends Api
|
||||
*
|
||||
* @param string $prjUid {@min 32} {@max 32}
|
||||
* @param string $outputDocumentUid {@min 32} {@max 32}
|
||||
* @param OutputDocumentStructure $request_data
|
||||
* @param OutputDocumentStructure $request_data
|
||||
*
|
||||
*/
|
||||
public function doPutProjectOutputDocument($prjUid, $outputDocumentUid, OutputDocumentStructure $request_data)
|
||||
@@ -114,7 +114,7 @@ class OutputDocuments extends Api
|
||||
}
|
||||
|
||||
class OutputDocumentStructure
|
||||
{
|
||||
{
|
||||
/**
|
||||
* @var string {@from body}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user