@@ -75,7 +75,7 @@ public function __construct(string $database)
7575 {
7676 if (\func_num_args () !== 1 ) {
7777 throw new \ArgumentCountError (
78- sprintf ('%s() expects exactly 1 parameter, %d given ' , __METHOD__ , \func_num_args ())
78+ \ sprintf ('%s() expects exactly 1 parameter, %d given ' , __METHOD__ , \func_num_args ())
7979 );
8080 }
8181
@@ -123,7 +123,7 @@ public function get(string $ipAddress)
123123 {
124124 if (\func_num_args () !== 1 ) {
125125 throw new \ArgumentCountError (
126- sprintf ('%s() expects exactly 1 parameter, %d given ' , __METHOD__ , \func_num_args ())
126+ \ sprintf ('%s() expects exactly 1 parameter, %d given ' , __METHOD__ , \func_num_args ())
127127 );
128128 }
129129 [$ record ] = $ this ->getWithPrefixLen ($ ipAddress );
@@ -149,7 +149,7 @@ public function getWithPrefixLen(string $ipAddress): array
149149 {
150150 if (\func_num_args () !== 1 ) {
151151 throw new \ArgumentCountError (
152- sprintf ('%s() expects exactly 1 parameter, %d given ' , __METHOD__ , \func_num_args ())
152+ \ sprintf ('%s() expects exactly 1 parameter, %d given ' , __METHOD__ , \func_num_args ())
153153 );
154154 }
155155
@@ -361,7 +361,7 @@ public function metadata(): Metadata
361361 {
362362 if (\func_num_args ()) {
363363 throw new \ArgumentCountError (
364- sprintf ('%s() expects exactly 0 parameters, %d given ' , __METHOD__ , \func_num_args ())
364+ \ sprintf ('%s() expects exactly 0 parameters, %d given ' , __METHOD__ , \func_num_args ())
365365 );
366366 }
367367
@@ -386,7 +386,7 @@ public function close(): void
386386 {
387387 if (\func_num_args ()) {
388388 throw new \ArgumentCountError (
389- sprintf ('%s() expects exactly 0 parameters, %d given ' , __METHOD__ , \func_num_args ())
389+ \ sprintf ('%s() expects exactly 0 parameters, %d given ' , __METHOD__ , \func_num_args ())
390390 );
391391 }
392392
0 commit comments