1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

Fixed usage casting to int

This commit is contained in:
Eldad Fux 2020-07-08 17:55:56 +03:00
parent d2f676f41f
commit 15b11b5651

View file

@ -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;
} }
/** /**