Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 088f792

Browse files
committed
Merge branch 'master' into dev
2 parents 2acc6f4 + fbefbdf commit 088f792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Finder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ public function findFeature($name)
507507
$files = $finder->name($fileName)->in($this->findServicesRootPath())->files();
508508
foreach ($files as $file) {
509509
$path = $file->getRealPath();
510-
$serviceName = strstr($file->getRelativePath(), '/', true);
510+
$serviceName = strstr($file->getRelativePath(), DIRECTORY_SEPARATOR, true);
511511
$service = $this->findService($serviceName);
512512
$content = file_get_contents($path);
513513

0 commit comments

Comments
 (0)