@@ -69,7 +69,7 @@ private function readData(SplFileObject $source): array
6969 * If it's an array with one element, extracts that element.
7070 * Returns null if no license is set or if multiple licenses are specified.
7171 *
72- * @return string|null The license string, or null if not set or unsupported.
72+ * @return string|null the license string, or null if not set or unsupported
7373 */
7474 public function getLicense (): ?string
7575 {
@@ -85,7 +85,7 @@ public function getLicense(): ?string
8585 /**
8686 * Retrieves the package name from composer.json.
8787 *
88- * @return string The full package name (vendor/package), or empty string if not set.
88+ * @return string the full package name (vendor/package), or empty string if not set
8989 */
9090 public function getPackageName (): string
9191 {
@@ -125,7 +125,7 @@ public function getAuthors(): array
125125 * The package name is expected in vendor/package format.
126126 * Returns null if no package name is set or if the package has no vendor prefix.
127127 *
128- * @return string|null The vendor name, or null if package has no vendor prefix.
128+ * @return string|null the vendor name, or null if package has no vendor prefix
129129 */
130130 public function getVendor (): ?string
131131 {
@@ -147,7 +147,7 @@ public function getVendor(): ?string
147147 /**
148148 * Returns the current year for copyright notices.
149149 *
150- * @return int The current year as an integer.
150+ * @return int the current year as an integer
151151 */
152152 public function getYear (): int
153153 {
@@ -162,7 +162,7 @@ public function getYear(): int
162162 *
163163 * @param array<string> $license The license array to extract from
164164 *
165- * @return string|null A single license string, or null if extraction is not possible.
165+ * @return string|null a single license string, or null if extraction is not possible
166166 */
167167 private function extractLicense (array $ license ): ?string
168168 {
0 commit comments