Skip to content

Commit 323ff89

Browse files
committed
♻️ removed unused internal option helpers
1 parent df504f5 commit 323ff89

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed

classes/Feed.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ public function __construct(Pages|Closure $pages, array $options = [])
2828
}
2929
}
3030

31-
public function option(?string $key = null): mixed
32-
{
33-
if ($key) {
34-
return A::get($this->options, $key);
35-
}
36-
37-
return $this->options;
38-
}
39-
4031
public function __toString(): string
4132
{
4233
return $this->string;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bnomei/kirby3-feed",
33
"type": "kirby-plugin",
4-
"version": "5.0.1",
4+
"version": "5.0.2",
55
"description": "Generate a Atom/JSON/RSS-Feed and XML-Sitemap from Pages-Collections",
66
"license": "MIT",
77
"authors": [

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php return array(
22
'root' => array(
33
'name' => 'bnomei/kirby3-feed',
4-
'pretty_version' => '5.0.1',
5-
'version' => '5.0.1.0',
4+
'pretty_version' => '5.0.2',
5+
'version' => '5.0.2.0',
66
'reference' => null,
77
'type' => 'kirby-plugin',
88
'install_path' => __DIR__ . '/../../',
@@ -11,8 +11,8 @@
1111
),
1212
'versions' => array(
1313
'bnomei/kirby3-feed' => array(
14-
'pretty_version' => '5.0.1',
15-
'version' => '5.0.1.0',
14+
'pretty_version' => '5.0.2',
15+
'version' => '5.0.2.0',
1616
'reference' => null,
1717
'type' => 'kirby-plugin',
1818
'install_path' => __DIR__ . '/../../',

0 commit comments

Comments
 (0)