Fixed errors

This commit is contained in:
Rooty 2021-09-23 03:16:39 +02:00
parent 0b86b60697
commit f6cceac3fe

View File

@ -121,9 +121,9 @@ class File
*/ */
function readAll() function readAll()
{ {
if( is_array($this-content) if( is_array($this-content) )
return implode ('', $this->content); return implode ('', $this->content);
else if( is_string($this->content) else if( is_string($this->content) )
return $this->content; return $this->content;
else else
return $this->content; return $this->content;