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)
640640 public function dumpFile (string $ filename , $ content )
641641 {
642642 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__ ));
644644 }
645645
646646 $ dir = \dirname ($ filename );
@@ -676,7 +676,7 @@ public function dumpFile(string $filename, $content)
676676 public function appendToFile (string $ filename , $ content )
677677 {
678678 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__ ));
680680 }
681681
682682 $ dir = \dirname ($ filename );
You can’t perform that action at this time.
0 commit comments