Skip to content

Commit 7d5a14c

Browse files
committed
Fix compatibility with doctrine/lexer 1.1.0
1 parent c9398eb commit 7d5a14c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CrEOF/Geo/String/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function __construct($input = null)
6868
$this->lexer = new Lexer();
6969

7070
if (null !== $input) {
71-
$this->input = $input;
71+
$this->input = (string) $input;
7272
}
7373
}
7474

@@ -82,7 +82,7 @@ public function __construct($input = null)
8282
public function parse($input = null)
8383
{
8484
if (null !== $input) {
85-
$this->input = $input;
85+
$this->input = (string) $input;
8686
}
8787

8888
$this->nextCardinal = null;

0 commit comments

Comments
 (0)