Fix incompatible return types in Wrapper\XMLReader
This commit is contained in:
parent
09b42171e5
commit
08a76b84a3
@ -83,7 +83,7 @@ class XMLReader extends \XMLReader
|
||||
* @throws \Box\Spout\Reader\Exception\XMLProcessingException If an error/warning occurred
|
||||
* @return bool TRUE on success or FALSE on failure
|
||||
*/
|
||||
public function read()
|
||||
public function read() : bool
|
||||
{
|
||||
$this->useXMLInternalErrors();
|
||||
|
||||
@ -119,7 +119,7 @@ class XMLReader extends \XMLReader
|
||||
* @throws \Box\Spout\Reader\Exception\XMLProcessingException If an error/warning occurred
|
||||
* @return bool TRUE on success or FALSE on failure
|
||||
*/
|
||||
public function next($localName = null)
|
||||
public function next($localName = null) : bool
|
||||
{
|
||||
$this->useXMLInternalErrors();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user