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