diff --git a/src/Data/AnalyzeResult.php b/src/Data/AnalyzeResult.php index df6024e..99e7004 100644 --- a/src/Data/AnalyzeResult.php +++ b/src/Data/AnalyzeResult.php @@ -26,8 +26,7 @@ public function __construct( public readonly ?Gender $dominant_gender, public readonly ?array $race, public readonly ?Race $dominant_race, - ) { - } + ) {} public function jsonSerialize(): array { diff --git a/src/Data/ExtractFaceResult.php b/src/Data/ExtractFaceResult.php index 8f460d4..4fba96d 100644 --- a/src/Data/ExtractFaceResult.php +++ b/src/Data/ExtractFaceResult.php @@ -12,8 +12,7 @@ public function __construct( public readonly FacialArea $facial_area, public readonly float $confidence, public readonly Detector $detector_backend, - ) { - } + ) {} public function jsonSerialize(): array { diff --git a/src/Data/FacialArea.php b/src/Data/FacialArea.php index 8ef2c56..e9cb309 100644 --- a/src/Data/FacialArea.php +++ b/src/Data/FacialArea.php @@ -13,8 +13,7 @@ public function __construct( public readonly int $h, public readonly int|array|null $left_eye, public readonly int|array|null $right_eye, - ) { - } + ) {} public function jsonSerialize(): array { diff --git a/src/Data/FindResult.php b/src/Data/FindResult.php index 3159bd8..e266a80 100644 --- a/src/Data/FindResult.php +++ b/src/Data/FindResult.php @@ -17,8 +17,7 @@ public function __construct( public readonly Detector $detector_backend, public readonly DistanceMetric $distance_metric, public readonly float $distance, - ) { - } + ) {} public function jsonSerialize(): array { diff --git a/src/Data/RepresentResult.php b/src/Data/RepresentResult.php index 4b862f7..9a60eb8 100644 --- a/src/Data/RepresentResult.php +++ b/src/Data/RepresentResult.php @@ -14,8 +14,7 @@ public function __construct( public readonly FacialArea $facial_area, public readonly FaceRecognitionModel $model, public readonly Detector $detector_backend, - ) { - } + ) {} public function jsonSerialize(): array { diff --git a/src/Data/VerifyResult.php b/src/Data/VerifyResult.php index 78af385..7747ae6 100644 --- a/src/Data/VerifyResult.php +++ b/src/Data/VerifyResult.php @@ -21,8 +21,7 @@ public function __construct( public readonly string $img2_path, public readonly FacialArea $img2_facial_area, public readonly float $time, - ) { - } + ) {} public function jsonSerialize(): array { diff --git a/src/Exceptions/DeepFaceException.php b/src/Exceptions/DeepFaceException.php index ac34bb5..41b8cff 100644 --- a/src/Exceptions/DeepFaceException.php +++ b/src/Exceptions/DeepFaceException.php @@ -4,6 +4,4 @@ use Exception; -class DeepFaceException extends Exception -{ -} +class DeepFaceException extends Exception {}