Skip to content

Commit 099b86a

Browse files
committed
fix: regexp
1 parent 8ce859c commit 099b86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Instrumentation/Doctrine/src/AttributesResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static function getDbQuerySummary(array $params): string
133133

134134
// Fetch target name
135135
$matches = [];
136-
preg_match_all('/(from|into|update|join)\s*([a-zA-Z0-9`"[\]_]+)/i', $query, $matches);
136+
preg_match_all('/( from| into| update| join)\s*([a-zA-Z0-9`"[\]_]+)/i', $query, $matches);
137137

138138
$targetName = null;
139139
if (strtolower($operationName) == 'select') {

0 commit comments

Comments
 (0)