Commit 06af44fb authored by Carsten  Rose's avatar Carsten Rose
Browse files

Add phpdoc definitions.

parent 7b1eae8a
Pipeline #861 passed with stage
in 1 minute and 35 seconds
......@@ -147,6 +147,7 @@ class AutoCron {
* @return array $job, updated with AUTOCRON_LAST_STATUS
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
private function doJobWebsite(array $job) {
......@@ -223,6 +224,9 @@ class AutoCron {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
private function doJobMail(array $job) {
......
......@@ -3570,6 +3570,9 @@ abstract class AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public function buildFieldset(array $formElement, $htmlFormElementName, $value, array &$json, $mode = FORM_LOAD) {
$attribute = '';
......@@ -3641,6 +3644,9 @@ abstract class AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public function buildTemplateGroup(array $formElement, $htmlFormElementName, $value, array &$json, $mode = FORM_LOAD) {
$attribute = '';
......@@ -3758,6 +3764,9 @@ EOT;
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
private function templateGroupCollectFilledElements($max, $htmlDelete, array &$json) {
......
......@@ -855,8 +855,12 @@ EOF;
* formElement.dynamicUpdate-yes values/states
* @throws CodeException
* @throws DbException
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public function process($mode, $htmlElementNameIdZero = false, $latestFeSpecNative = array()) {
......
......@@ -68,6 +68,9 @@ class BuildFormPlain extends AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public function doSubrecords() {
$json = array();
......
......@@ -71,6 +71,9 @@ class BuildFormTable extends AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public function doSubrecords() {
//TODO: $json is not returned - which is wrong. In this case, dynamic update won't work for subrecords
......
......@@ -320,6 +320,9 @@ class QuickFormQuery {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
private function doForm($formMode) {
$data = '';
......
......@@ -804,6 +804,7 @@ class Database {
$this->sql("TRUNCATE $table");
}
}
/**
* Depending on $sql reads FormElements to a specific container or all. Preprocess all FormElements.
*
......@@ -815,6 +816,7 @@ class Database {
* @throws CodeException
* @throws DbException
* @throws UserFormException
* @throws UserReportException
*/
public function getNativeFormElements($sql, array $param, $formSpec) {
......
......@@ -78,6 +78,9 @@ class FormAction {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public function elements($recordId, array $feSpecAction, $feTypeList) {
......
......@@ -77,6 +77,7 @@ class FillStoreForm {
* @throws CodeException
* @throws DbException
* @throws UserFormException
* @throws UserReportException
*/
private function loadFormElementsBasedOnSIP() {
......
......@@ -1019,7 +1019,8 @@ class DirtyTest extends \AbstractDatabaseTest {
/**
* Clear Session to have a new clean environment
*
* @param $cookie
* @param string $cookie
* @throws \qfq\CodeException
*/
private function clean($cookie = '') {
......
......@@ -68,6 +68,7 @@ class SipTest extends TestCase {
/**
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
public function testGetVarsFromSip() {
$sip = new Sip('fakesessionname', true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment