mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +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
|
* 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 $complexity Complexity
|
||||||
* @param int $b Branches
|
* @param int $coverage Coverage
|
||||||
* @param int $c Conditionals
|
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,7 @@ abstract class ViewAbstract implements \Serializable
|
||||||
*
|
*
|
||||||
* @since 1.0.0 <d.eichhorn@oms.com>
|
* @since 1.0.0 <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function render(...$data)
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$ob = '';
|
$ob = '';
|
||||||
$path = __DIR__ . '/../..' . $this->template . '.tpl.php';
|
$path = __DIR__ . '/../..' . $this->template . '.tpl.php';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user