table test and bug style fixes

This commit is contained in:
Dennis Eichhorn 2019-03-31 20:32:17 +02:00
parent 63903a9d78
commit bbb90428fc
3 changed files with 13 additions and 8 deletions

View File

@ -92,7 +92,7 @@ class Report implements \JsonSerializable
/** /**
* Report source. * Report source.
* *
* @var int * @var int|\Modules\Media\Models\Collection
* @since 1.0.0 * @since 1.0.0
*/ */
private $source = 0; private $source = 0;
@ -281,6 +281,11 @@ class Report implements \JsonSerializable
return $this->source; return $this->source;
} }
/**
* @return array
*
* @since 1.0.0
*/
public function toArray() : array public function toArray() : array
{ {
return [ return [