Implement creator studio and upload updates
This commit is contained in:
16
app/Services/Images/Detectors/NullSubjectDetector.php
Normal file
16
app/Services/Images/Detectors/NullSubjectDetector.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Services\Images\Detectors;
|
||||
|
||||
use App\Contracts\Images\SubjectDetectorInterface;
|
||||
use App\Data\Images\SubjectDetectionResultData;
|
||||
|
||||
final class NullSubjectDetector implements SubjectDetectorInterface
|
||||
{
|
||||
public function detect(string $sourcePath, int $sourceWidth, int $sourceHeight, array $context = []): ?SubjectDetectionResultData
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user