Skip to content

Commit eae308a

Browse files
committed
fix: remove unused \$name key variable in foreach loop
Drops the unused key variable from the getInjections() foreach at Http.php:175 to silence static analysis warnings. https://claude.ai/code/session_0196tmVsX1KjJKmuHncp7HiV
1 parent ea5166b commit eae308a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Http/Http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected function executeHook(Container $scope, \Utopia\Servers\Hook $hook): vo
172172
$dependencies[] = ['name' => $key, 'order' => $param['order']];
173173
}
174174

175-
foreach ($hook->getInjections() as $name => $injection) {
175+
foreach ($hook->getInjections() as $injection) {
176176
$dependencies[] = $injection;
177177
}
178178

0 commit comments

Comments
 (0)