A free open source IT asset/license management system
phpstan fix
snipe396158798760
diff --git a/app/SyncAdapters/CustomHttp/CustomHttpAdapter.php b/app/SyncAdapters/CustomHttp/CustomHttpAdapter.phpindex 4e717f06d6..147cfae6c9 100644--- a/app/SyncAdapters/CustomHttp/CustomHttpAdapter.php+++ b/app/SyncAdapters/CustomHttp/CustomHttpAdapter.php@@ -429,7 +429,7 @@ class CustomHttpAdapter extends SyncAdapter implements PushableAdapter$postedDirections = (array) $request->input($slug.'_direction', []);$prunedFromFieldPaths = [];- foreach ($this->fieldPathMap() as $destination => $path) {+ foreach (array_keys($this->fieldPathMap()) as $destination) {if (! str_starts_with($destination, 'custom:') && ! str_starts_with($destination, 'native:')) {continue;}