refactor(core): ensure that shouldShowPageTools() returns a bool (#573)

This commit is contained in:
CosmicAlpha 2023-01-21 16:11:41 -07:00 committed by GitHub
parent 63a35d2774
commit 8aca2e8b68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ final class PageTools extends Partial {
} }
} }
return $condition; return (bool)$condition;
} }
/** /**