PHPStan Level 4
This commit is contained in:
1 parent
ea0a67d283
commit
6f1b67b39d
23 files changed
+32
-43
No files matched your search
@@ -142,7 +142,7 @@ class Reader extends ReaderAbstract
|
||||
*/
|
||||
protected function closeReader()
|
||||
{
|
||||
if ($this->filePointer) {
|
||||
if (is_resource($this->filePointer)) {
|
||||
$this->globalFunctionsHelper->fclose($this->filePointer);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user