Use lowercase typing for instanceof > instanceOf
This commit is contained in:
parent
c84e3401ff
commit
74caf06280
|
@ -23,7 +23,7 @@ final class NodaHierarchyHelper {
|
||||||
public static function findHighestRelatedTag(MDMysqli $mysqli_noda, int $tag_id, $higherStmt = null):int {
|
public static function findHighestRelatedTag(MDMysqli $mysqli_noda, int $tag_id, $higherStmt = null):int {
|
||||||
|
|
||||||
$builtHigherStmt = false;
|
$builtHigherStmt = false;
|
||||||
if (!$higherStmt instanceOf MDMysqliStmt) {
|
if (!$higherStmt instanceof MDMysqliStmt) {
|
||||||
$higherStmt = $mysqli_noda->do_prepare("SELECT `tag_mayor_id`
|
$higherStmt = $mysqli_noda->do_prepare("SELECT `tag_mayor_id`
|
||||||
FROM `tag_relation`
|
FROM `tag_relation`
|
||||||
WHERE `tag_relation`.`tag_relation` != 2
|
WHERE `tag_relation`.`tag_relation` != 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user