diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/phpcl.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/phpcl.nim b/lib/phpcl.nim index 6d7aa0ea6..5eaa00f80 100644 --- a/lib/phpcl.nim +++ b/lib/phpcl.nim @@ -31,7 +31,7 @@ proc strtr*(s: string, replacePairs: PhpArray[string, string]): string {.importc proc strtr*(s, fromm, to: string): string {.importc.} proc toArray*[K,V](pairs: openarray[(K,V)]): PhpArray[K,V] {.magic: - "Repr".} + "Array".} template strtr*(s: string, replacePairs: openarray[(string, string)]): string = strtr(toArray(replacePairs)) |