File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Crop
1818 private readonly LocalInputSource $ localInput ;
1919
2020 /**
21- * @param LocalInputSource $localInput localInputSource object
21+ * @param LocalInputSource $localInput LocalInputSource object.
2222 */
2323 public function __construct (LocalInputSource $ localInput )
2424 {
@@ -28,7 +28,7 @@ public function __construct(LocalInputSource $localInput)
2828 /**
2929 * Extracts a crop zone from a file.
3030 *
31- * @param CropItem $crop crop to extract
31+ * @param CropItem $crop Crop to extract.
3232 *
3333 * @return ExtractedImage extracted image
3434 */
@@ -40,7 +40,8 @@ public function extractCrop(CropItem $crop): ExtractedImage
4040 /**
4141 * Extracts multiple crop zones from a file.
4242 *
43- * @param CropItem[] $crops list of crops to extract
43+ * @param CropItem[] $crops List of crops to extract.
44+ * @return CropFiles list of extracted files
4445 */
4546 public function extractCrops (array $ crops ): CropFiles
4647 {
Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ public function __construct(ExtractedPdf ...$items)
2525 /**
2626 * Save all extracted splits to disk.
2727 *
28- * @param string $path the directory path to save the extracted splits to
29- * @param string $prefix prefix to add to the filename
28+ * @param string $path The directory path to save the extracted splits to.
29+ * @param string $prefix Prefix to add to the filename.
3030 *
31- * @throws MindeeException if directory creation fails
31+ * @throws MindeeException If directory creation fails.
32+ * @return void
3233 */
3334 public function saveAllToDisk (string $ path , string $ prefix = 'split ' ): void
3435 {
You can’t perform that action at this time.
0 commit comments