Fix docblock

This commit is contained in:
Dennis Eichhorn 2017-10-26 19:52:20 +02:00
parent a6f902b3e1
commit d3732ed8d7
2 changed files with 4 additions and 5 deletions

View File

@ -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
*

View File

@ -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';