Skip to content

Commit 21d8a6d

Browse files
fix lint
1 parent ca35a12 commit 21d8a6d

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

src/V2/FileOperations/Crop.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
{

src/V2/FileOperations/SplitFiles.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)