Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

412 B
Raw Blame
<?php
namespace Sample;

use Sample\Models\Operation;
use Sample\Models\CalculationRecord;

/** Calculator for basic arithmetic. */
class Calculator extends BaseCalc implements Computable
{
    public function add(float $x, float $y): float
    {
        return $x + $y;
    }

    public function subtract(float $x, float $y): float
    {
        return $x - $y;
    }

    private function helper(): void {}
}