Programming Language PHP

Namespace Elabftw\Services

Class Check

Method/Function sort

Total Examples 1

1 code examples of PHP Elabftw\Services\Check::sort extracted from open source projects

Was this example useful?
0
                                                    public function testSort(): void
    {
        $this->assertEquals('asc', Check::sort('asc'));
        $this->assertEquals('desc', Check::sort('desc'));
        $this->expectException(ImproperActionException::class);
        Check::sort('blah');
    }