Commit c2e35a5c authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Ajoute un typecast "type-safe" pour les IRI.

parent c2e1651d
......@@ -68,7 +68,7 @@ final class IRI extends AbstractType
*/
public function castToStringOrStringArray(string $expr): string
{
return $expr;
return sprintf('%s.toString()', $expr);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment