Skip to content

Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.

251 B
Raw Blame
<?php

declare(strict_types=1);

namespace Acme\StaticText;

final class StaticHelper
{
    public static function one(): int
    {
        return 1;
    }
}

final class InstanceHelper
{
    public function two(): int
    {
        return 2;
    }
}