Skip to content

Commit

Permalink
Fix "Array and string offset access syntax with curly braces is depre…
Browse files Browse the repository at this point in the history
…cated"
  • Loading branch information
thekid committed Apr 5, 2020
1 parent 406d750 commit 0ecf261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/php/unittest/web/WebTestCase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function navigateTo($target, $params= null, $method= HttpConstants::GET)
));
$params ? $url->setParams($params) : '';
$this->beginAt($url->getPath(), $url->getParams(), $method);
} else if ('' !== $target && '/' === $target{0}) {
} else if ('' !== $target && '/' === $target[0]) {
$this->beginAt($target, $params, $method);
} else {
$base= $this->getBase();
Expand Down

0 comments on commit 0ecf261

Please sign in to comment.