mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-18 23:48:42 +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
|
||||
{
|
||||
if (!empty($this->reports)) {
|
||||
return \end($this->reports());
|
||||
return \end($this->reports);
|
||||
}
|
||||
|
||||
return new NullReport();
|
||||
|
|
@ -283,7 +283,7 @@ class Template implements \JsonSerializable
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \array
|
||||
* @return array
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user