Skip to content

Commit

Permalink
Feature/channel nature default (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup authored Sep 3, 2024
1 parent ca6c4f7 commit 3e949bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SiteKitResourceChannelFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* anchor: string,
* serverName: string,
* preview: bool,
* nature: string,
* nature: ?string,
* locale: ?string,
* encoding: ?string,
* translationLocales: ?string[]
Expand Down Expand Up @@ -57,7 +57,7 @@ public function create(): ResourceChannel
$data['publisher']['anchor'],
$data['publisher']['serverName'],
$data['publisher']['preview'],
$data['publisher']['nature'],
$data['publisher']['nature'] ?? 'internet',
$data['publisher']['locale'] ?? 'de_DE',
$this->baseDir,
$this->resourceDir,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
'anchor' => 'test',
'serverName' => 'www.test.org',
'preview' => true,
'nature' => 'internet',
'locale' => null,
'encoding' => null,
],
Expand Down

0 comments on commit 3e949bc

Please sign in to comment.