Skip to content

Commit 0bb1864

Browse files
committed
fix Rector
1 parent 854f39e commit 0bb1864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/UserAgent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ protected function compileData()
278278
$this->setPlatform();
279279

280280
foreach (['setRobot', 'setBrowser', 'setMobile'] as $function) {
281-
if ($this->{$function}() === true) {
281+
if ($this->{$function}()) {
282282
break;
283283
}
284284
}

0 commit comments

Comments
 (0)