Skip to content

Commit 0734f0c

Browse files
committed
Add missing sprintf call
1 parent 025e59b commit 0734f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Functions/FactoriesFunctionArgumentTypeRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function processNode(Node $node, Scope $scope): array
111111
$nameType->describe(VerbosityLevel::precise()),
112112
$function,
113113
addcslashes($this->instanceofMap[$function], '\\')
114-
))->identifier('codeigniter.%sArgumentInstanceof')->build()];
114+
))->identifier(sprintf('codeigniter.%sArgumentInstanceof', $function))->build()];
115115
}
116116

117117
return [];

0 commit comments

Comments
 (0)