src/Jobs/StartLabelDetection.phpmodified+0-2Changes to src/Jobs/StartLabelDetection.php | @@ -9,7 +9,6 @@ use Illuminate\Queue\InteractsWithQueue; |
| 9 | 9 | use Illuminate\Queue\SerializesModels; |
| 10 | 10 | use Illuminate\Support\Facades\Storage; |
| 11 | 11 | use Illuminate\Support\Str; |
| 12 | | -use Meema\MediaRecognition\Events\FacialAnalysisCompleted; |
| 13 | 12 | use Meema\MediaRecognition\Events\LabelAnalysisCompleted; |
| 14 | 13 | use Meema\MediaRecognition\Facades\Recognize; |
| 15 | 14 | |
formatting only · 7 hidden lines
Changes to src/Jobs/StartLabelDetection.php | @@ -81,7 +80,6 @@ class StartLabelDetection implements ShouldQueue formatting only |
| 81 | 80 | throw new \Exception('$mimeType does neither indicate being a video nor an image'); |
| 82 | 81 | } |
| 83 | 82 | |
| 84 | | - |
| 85 | 83 | protected function ensureMimeTypeIsSet() |
| 86 | 84 | { |
| 87 | 85 | if (is_null($this->mimeType)) { |
src/Jobs/StartModerationDetection.phpmodifiedformatting only+0-1Changes to src/Jobs/StartModerationDetection.php | @@ -76,7 +76,6 @@ class StartModerationDetection implements ShouldQueue |
| 76 | 76 | throw new \Exception('$mimeType does neither indicate being a video nor an image'); |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | | - |
| 80 | 79 | protected function ensureMimeTypeIsSet() |
| 81 | 80 | { |
| 82 | 81 | if (is_null($this->mimeType)) { |
src/Recognizers/Rekognition.phpmodified+0-1Changes to src/Recognizers/Rekognition.php | @@ -8,7 +8,6 @@ use Illuminate\Support\Facades\Storage; |
| 8 | 8 | use Illuminate\Support\Str; |
| 9 | 9 | use Meema\MediaRecognition\Contracts\MediaRecognition as MediaRecognitionInterface; |
| 10 | 10 | use Meema\MediaRecognition\Events\FacialAnalysisCompleted; |
| 11 | | -use Meema\MediaRecognition\Facades\Recognize; |
| 12 | 11 | use Meema\MediaRecognition\Models\MediaRecognition; |
| 13 | 12 | use Meema\MediaRecognition\Traits\CanRecognizeImages; |
| 14 | 13 | use Meema\MediaRecognition\Traits\CanRecognizeVideos; |
src/Traits/CanRecognizeImages.phpmodified+0-1Changes to src/Traits/CanRecognizeImages.php | @@ -3,7 +3,6 @@ |
| 3 | 3 | namespace Meema\MediaRecognition\Traits; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | | -use Meema\MediaRecognition\Models\MediaRecognition; |
| 7 | 6 | |
| 8 | 7 | trait CanRecognizeImages |
| 9 | 8 | { |