We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9474d05 + ac53d6c commit 5aed20eCopy full SHA for 5aed20e
1 file changed
src/PoFile.php
@@ -343,7 +343,7 @@ public function dumpString(): string
343
*
344
* @throws FileNotReadableException
345
*/
346
- public function readPoFile(string $file, ?resource $context = null): void
+ public function readPoFile(string $file, $context = null): void
347
{
348
$oldEr = error_reporting(E_ALL ^ E_WARNING);
349
$source = file_get_contents($file, false, $context);
0 commit comments