Skip to content

Commit 8aa6085

Browse files
committed
♻️ made method static
1 parent e273297 commit 8aa6085

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

classes/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function toArray(array $merge = []): array
422422
return array_merge_recursive($this->registry, $merge);
423423
}
424424

425-
public function pascalToKebabCase(string $string): string
425+
public static function pascalToKebabCase(string $string): string
426426
{
427427
return ltrim(strtolower((string) preg_replace('/[A-Z]([A-Z](?![a-z]))*/', '-$0', $string)), '-');
428428
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bnomei/autoloader-for-kirby",
33
"type": "project",
4-
"version": "4.3.2",
4+
"version": "4.3.3",
55
"license": "MIT",
66
"description": "Helper to automatically load various Kirby extensions in a plugin",
77
"authors": [

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/autoloader-for-kirby',
4-
'pretty_version' => '4.3.2',
5-
'version' => '4.3.2.0',
4+
'pretty_version' => '4.3.3',
5+
'version' => '4.3.3.0',
66
'reference' => null,
77
'type' => 'project',
88
'install_path' => __DIR__ . '/../../',
@@ -11,8 +11,8 @@
1111
),
1212
'versions' => array(
1313
'bnomei/autoloader-for-kirby' => array(
14-
'pretty_version' => '4.3.2',
15-
'version' => '4.3.2.0',
14+
'pretty_version' => '4.3.3',
15+
'version' => '4.3.3.0',
1616
'reference' => null,
1717
'type' => 'project',
1818
'install_path' => __DIR__ . '/../../',

0 commit comments

Comments
 (0)