Skip to content

Commit

Permalink
fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Dec 19, 2024
1 parent 97631de commit 56c0a1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Feature/DeepfaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
use Astrotomic\DeepFace\Enums\Race;
use PHPUnit\Framework\Assert;

describe('analyze', function ():void {
it('analyzes: img1', function ():void {
describe('analyze', function (): void {
it('analyzes: img1', function (): void {
$img = $this->image('img1.jpg');
$results = $this->deepface()->analyze($img);

Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ abstract class TestCase extends BaseTestCase
{
protected function deepface(): DeepFace
{
return new DeepFace();
return new DeepFace;
}

protected function image(string $img): string
{
return realpath(__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures'. DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . $img);
return realpath(__DIR__.DIRECTORY_SEPARATOR.'Fixtures'.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.$img);
}
}

0 comments on commit 56c0a1a

Please sign in to comment.