improve docblocks

This commit is contained in:
Dennis Eichhorn 2020-02-12 19:53:07 +01:00
parent cb1b94df7d
commit 30b55c38e3
3 changed files with 5 additions and 4 deletions

View File

@ -75,7 +75,7 @@ class Report implements \JsonSerializable
/** /**
* Report created by. * Report created by.
* *
* @var int * @var int|\Modules\Admin\Models\Account
* @since 1.0.0 * @since 1.0.0
*/ */
private $createdBy = 0; private $createdBy = 0;
@ -83,7 +83,7 @@ class Report implements \JsonSerializable
/** /**
* Report template. * Report template.
* *
* @var null|int|Media * @var int|\Modules\Media\Models\Media
* @since 1.0.0 * @since 1.0.0
*/ */
private $template = 0; private $template = 0;

View File

@ -91,7 +91,7 @@ class Template implements \JsonSerializable
/** /**
* Template created by. * Template created by.
* *
* @var int * @var int|\Modules\Admin\Models\Account
* @since 1.0.0 * @since 1.0.0
*/ */
private $createdBy = 0; private $createdBy = 0;
@ -99,7 +99,7 @@ class Template implements \JsonSerializable
/** /**
* Template source. * Template source.
* *
* @var int|Media * @var int|\Modules\Media\Models\Media
* @since 1.0.0 * @since 1.0.0
*/ */
private $source = 0; private $source = 0;

View File

@ -14,6 +14,7 @@ declare(strict_types=1);
/** /**
* @var \phpOMS\Views\View $this * @var \phpOMS\Views\View $this
* @var \Modules\Helper\Models\Template[] $templates
*/ */
$templates = $this->getData('reports'); $templates = $this->getData('reports');