mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix docblock
This commit is contained in:
parent
a6f902b3e1
commit
d3732ed8d7
|
|
@ -48,11 +48,10 @@ class Metrics {
|
|||
/**
|
||||
* Calculate the C.R.A.P score
|
||||
*
|
||||
* @latex r = \sqrt{a^{2} + b^{2} + c^{2}}
|
||||
* @latex r = com^{2} \times (1 - cov)^{3} + com
|
||||
*
|
||||
* @param int $a Assignments
|
||||
* @param int $b Branches
|
||||
* @param int $c Conditionals
|
||||
* @param int $complexity Complexity
|
||||
* @param int $coverage Coverage
|
||||
*
|
||||
* @return int
|
||||
*
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ abstract class ViewAbstract implements \Serializable
|
|||
*
|
||||
* @since 1.0.0 <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function render(...$data)
|
||||
public function render(...$data) : string
|
||||
{
|
||||
$ob = '';
|
||||
$path = __DIR__ . '/../..' . $this->template . '.tpl.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user