File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ public function tempnam(string $dir, string $prefix)
640
640
public function dumpFile (string $ filename , $ content )
641
641
{
642
642
if (\is_array ($ content )) {
643
- throw new \TypeError (sprintf ('Argument 2 passed to %s() must be string or resource, array given. ' , __METHOD__ ));
643
+ throw new \TypeError (sprintf ('Argument 2 passed to " %s()" must be string or resource, array given. ' , __METHOD__ ));
644
644
}
645
645
646
646
$ dir = \dirname ($ filename );
@@ -676,7 +676,7 @@ public function dumpFile(string $filename, $content)
676
676
public function appendToFile (string $ filename , $ content )
677
677
{
678
678
if (\is_array ($ content )) {
679
- throw new \TypeError (sprintf ('Argument 2 passed to %s() must be string or resource, array given. ' , __METHOD__ ));
679
+ throw new \TypeError (sprintf ('Argument 2 passed to " %s()" must be string or resource, array given. ' , __METHOD__ ));
680
680
}
681
681
682
682
$ dir = \dirname ($ filename );
You can’t perform that action at this time.
0 commit comments