Skip to content

Commit 62e8e4e

Browse files
committed
Remove null from allowed method return types
1 parent e4bf178 commit 62e8e4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/src/Framework/Features/Publications/PublicationService.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ public static function getAllTags(): Collection
7777
* Get all values for a given tag name.
7878
*
7979
* @param string $tagName
80-
* @return \Rgasch\Collection\Collection|null
80+
* @return \Rgasch\Collection\Collection
8181
*
8282
* @throws \Safe\Exceptions\FilesystemException
8383
* @throws \Safe\Exceptions\JsonException
8484
*/
85-
public static function getValuesForTagName(string $tagName): ?Collection
85+
public static function getValuesForTagName(string $tagName): Collection
8686
{
8787
$tags = static::getAllTags();
8888
if (! $tags->get($tagName)) {

0 commit comments

Comments
 (0)