Fixed usage casting to int
This commit is contained in:
parent
d2f676f41f
commit
15b11b5651
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ class MySQL extends Adapter
|
||||||
->setDebug('joins', \substr_count($query, 'JOIN'))
|
->setDebug('joins', \substr_count($query, 'JOIN'))
|
||||||
;
|
;
|
||||||
|
|
||||||
return (int) (isset($result['result'])) ? $result['result'] : 0;
|
return (isset($result['result'])) ? (int)$result['result'] : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue