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