also looking at this
meemalabs/laravel-media-recognition
Apply fixes from StyleCI
#6
4 files
+0
-5
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -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 | |
| @@ -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)) { |
| @@ -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)) { |
| @@ -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; |