We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de8b19 commit f1c13a3Copy full SHA for f1c13a3
1 file changed
src/License/Reader.php
@@ -20,7 +20,6 @@
20
21
use FastForward\DevTools\Composer\Json\ComposerJson;
22
use Psr\Clock\ClockInterface;
23
-use Safe\Exceptions\JsonException;
24
25
/**
26
* Reads composer.json and exposes metadata for license generation.
@@ -35,10 +34,8 @@
35
34
* Creates a new Reader instance.
36
*
37
* @param ComposerJson $source The source file to read from, typically composer.json
38
- * @param ClockInterface $clock
39
- * @param ComposerJson $composerJson
40
- *
41
- * @throws JsonException if the JSON content is invalid
+ * @param ClockInterface $clock Clock instance for obtaining the current year if needed
+ * @param ComposerJson $composerJson the composer.json accessor for extracting metadata
42
*/
43
public function __construct(
44
private ClockInterface $clock,
0 commit comments