In case your library can't operate on the PDO, and the PDO calls return null, it would be wise to have some form of error checking so the user of the library doesn't have to read through your code to figure out the issue.
Also, you're using FETCH_ASSOC here but you're using a integer index here. Not only is there no check, but you ought to be reading from this array associatively (chromium, why do you think this word is misspelled?) in case you ever change your SQL call.
In case your library can't operate on the PDO, and the PDO calls return null, it would be wise to have some form of error checking so the user of the library doesn't have to read through your code to figure out the issue.
Also, you're using FETCH_ASSOC here but you're using a integer index here. Not only is there no check, but you ought to be reading from this array associatively (chromium, why do you think this word is misspelled?) in case you ever change your SQL call.