PHP-MySQLi-Database-Class icon indicating copy to clipboard operation
PHP-MySQLi-Database-Class copied to clipboard

mostly cosmetic and very small changes

Open EnthusiastNT opened this issue 4 years ago • 1 comments

    • added a check on isset($table[0]) because that threw an error once
    • utf8mb4 instead of utf8 as default as recommended in the docs
    • mb_substr instead of substr since we use utf8
    • added 3 function aliases for easier understanding (see CHANGED)
    • corrected some spelling and grammar in comments
    • removed a few "@throws Exception" where it wasn't throwing anything
    • added some line breaks for consistency
    • moved orWhere() after where() because... OCD I guess

EnthusiastNT avatar Dec 04 '21 10:12 EnthusiastNT

@EnthusiastNT great cleanup thank you. Can you please remove all the noise comments like CHANGED, remove a changelog on top and as well remove new introdouced helper functions? I dont see much use of this functions since they are acting as 'sugar for the sugar'. I will be happy to merge this in after. Thank you again

avbdr avatar Sep 13 '22 15:09 avbdr