You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current readValue() method shall be made private and renamed to readValueByToken($token, $expectedType).
Implement a new readValue() method which will have an optional parameter $expectedType.
Internally it will resolve the first token and forward it to the new private method. It also will forward the $expectedType accordingly.
The checks for the $expectedType have to implemented accordingly.
Code that calls readValue() needs to be optimized to use the $expectedType.
This optimization allows better error handling in faulty PDF files.
The text was updated successfully, but these errors were encountered:
The current readValue() method shall be made private and renamed to
readValueByToken($token, $expectedType)
.Implement a new
readValue()
method which will have an optional parameter $expectedType.Internally it will resolve the first token and forward it to the new private method. It also will forward the
$expectedType
accordingly.The checks for the
$expectedType
have to implemented accordingly.Code that calls
readValue()
needs to be optimized to use the$expectedType
.This optimization allows better error handling in faulty PDF files.
The text was updated successfully, but these errors were encountered: