ReviewOS

also looking at this

meemalabs/laravel-media-recognition

Apply fixes from StyleCI

#10
Merged chris wants to merge analysis-9mOM6N into main
1 file +2 -2

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.

src/Traits/Recognizable.phpmodified+2-2
Changes to src/Traits/Recognizable.php
@@ -118,7 +118,7 @@ trait Recognizable
118118 return [
119119 'name' => $label['ModerationLabel']['Name'],
120120 'confidence' => $label['ModerationLabel']['Confidence'],
121 'timestamp' => $label['Timestamp']
121 'timestamp' => $label['Timestamp'],
122122 ];
123123 })->unique('name')->take($limit)->sortByDesc('confidence')->values();
124124 }
@@ -128,7 +128,7 @@ trait Recognizable
128128 return [
129129 'text' => $text['TextDetection']['DetectedText'],
130130 'confidence' => $text['TextDetection']['Confidence'],
131 'timestamp' => $text['Timestamp']
131 'timestamp' => $text['Timestamp'],
132132 ];
133133 })->unique('text')->take($limit)->sortByDesc('confidence')->values();
134134 }