Skip to content

Commit 5aed20e

Browse files
authored
Merge pull request #8 from mtorromeo/resource-fix
"resource" is not a valid typehint in supported by PHP
2 parents 9474d05 + ac53d6c commit 5aed20e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PoFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public function dumpString(): string
343343
*
344344
* @throws FileNotReadableException
345345
*/
346-
public function readPoFile(string $file, ?resource $context = null): void
346+
public function readPoFile(string $file, $context = null): void
347347
{
348348
$oldEr = error_reporting(E_ALL ^ E_WARNING);
349349
$source = file_get_contents($file, false, $context);

0 commit comments

Comments
 (0)