Skip to content

Commit bdb078d

Browse files
committed
chore: add comment for layerPattern() definition
1 parent aeba5b2 commit bdb078d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

structarmed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
])
4949
->cacheDirectory(is_dir('/tmp') ? '/tmp/structarmed' : null)
5050
->withPreset(Preset::PSR4())
51-
51+
// Resolve CodeIgniter layers from class names because several layers share directories.
5252
->layerPattern('API', '/^CodeIgniter\\\\API\\\\.*$/')
5353
->layerPattern('Cache', '/^CodeIgniter\\\\Cache\\\\.*$/')
5454
->layerPattern('Controller', '/^CodeIgniter\\\\Controller$/')

0 commit comments

Comments
 (0)