|
@@ -71,7 +71,7 @@ |
|
|
block discarded – undo |
|
71
|
71
|
/** @return \Illuminate\Support\Collection<\Hyde\Framework\Features\Blogging\Models\PostAuthor> */ |
|
72
|
72
|
public static function all(): Collection |
|
73
|
73
|
{ |
|
74
|
|
- return (new Collection(Config::getArray('hyde.authors', [])))->mapWithKeys(function (self $author): array { |
|
|
74
|
+ return (new Collection(Config::getArray('hyde.authors', [])))->mapWithKeys(function(self $author): array { |
|
75
|
75
|
return [$author->username => $author]; |
|
76
|
76
|
}); |
|
77
|
77
|
} |
Please login to merge, or discard this patch.