Skip to content

Commit d524a9d

Browse files
feat: improve PHPDoc (#34)
* feat: improve PHPDoc --------- Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
1 parent 52d202e commit d524a9d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## [3.3.1] - 2025-02-19
9+
### Added
10+
- `@throws` to PHPDoc for better IDE support
11+
712
## [3.3.0] - 2025-02-19
813
### Added
914
- Method `getFiles()`

src/PdfMerge.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public function getPdf(): TCPDI
3535

3636
/**
3737
* Adds a file to merge
38+
*
39+
* @throws FileNotFoundException
3840
*/
3941
public function add(string $file): void
4042
{
@@ -63,6 +65,8 @@ public function reset(): void
6365

6466
/**
6567
* Generates a merged PDF file from the already stored PDF files
68+
*
69+
* @throws NoFilesDefinedException
6670
*/
6771
public function merge(string $outputFilename, string $destination = 'F'): string
6872
{

0 commit comments

Comments
 (0)