Zend certified PHP/Magento developer

Why does the PHP documentation describe methods like this: PDO::query (https://www.php.net/manual/en/pdo.query.php) with the class name and two colons, when this method is *not* static and cannot be called as such? Am I missing something or is it just how it’s documented?