File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ private function registry(string $type): array
170170 }
171171 if (empty ($ key )) {
172172 continue ;
173+ } else {
174+ $ key = strval ($ key ); // in case key looks like a number but should be a string
173175 }
174176
175177 if ($ options ['key ' ] === 'classname ' ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " bnomei/autoloader-for-kirby" ,
33 "type" : " project" ,
4- "version" : " 1.2.7 " ,
4+ "version" : " 1.2.8 " ,
55 "license" : " MIT" ,
66 "description" : " Helper to automatically load various Kirby extensions in a plugin" ,
77 "authors" : [
Original file line number Diff line number Diff line change 11<?php return array (
22 'root ' => array (
3- 'pretty_version ' => '1.2.7 ' ,
4- 'version ' => '1.2.7 .0 ' ,
3+ 'pretty_version ' => '1.2.8 ' ,
4+ 'version ' => '1.2.8 .0 ' ,
55 'type ' => 'project ' ,
66 'install_path ' => __DIR__ . '/../../ ' ,
77 'aliases ' => array (),
1111 ),
1212 'versions ' => array (
1313 'bnomei/autoloader-for-kirby ' => array (
14- 'pretty_version ' => '1.2.7 ' ,
15- 'version ' => '1.2.7 .0 ' ,
14+ 'pretty_version ' => '1.2.8 ' ,
15+ 'version ' => '1.2.8 .0 ' ,
1616 'type ' => 'project ' ,
1717 'install_path ' => __DIR__ . '/../../ ' ,
1818 'aliases ' => array (),
You can’t perform that action at this time.
0 commit comments