mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-11 10:58:39 +00:00
static analysis fixes
This commit is contained in:
parent
6dec154f59
commit
e15ce93138
|
|
@ -144,7 +144,7 @@ class Template implements \JsonSerializable
|
||||||
public function getNewestReport() : Report
|
public function getNewestReport() : Report
|
||||||
{
|
{
|
||||||
if (!empty($this->reports)) {
|
if (!empty($this->reports)) {
|
||||||
return \end($this->reports());
|
return \end($this->reports);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new NullReport();
|
return new NullReport();
|
||||||
|
|
@ -283,7 +283,7 @@ class Template implements \JsonSerializable
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \array
|
* @return array
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user