Attogram/AttogramDatabaseInterface.php
Method tabler
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table,
$tableId,
$nameSingular,
$namePlural,
$publicLink,
The method tabler has 10 parameters. Consider reducing the number of parameters to less than 10. Open
Open
public function tabler(
$table,
$tableId,
$nameSingular,
$namePlural,
- Exclude checks
Saw an @param annotation for countSql,
but it was not found in the param list of function tabler(string $table, string $tableId, string $nameSingular, string $namePlural, string $publicLink, array $col, string $sql, string $adminLink, bool $showEdit, int $perPage) : void
Open
Open
* @param string $countSql SQL query to get total number of items in table
- Exclude checks
Expected @param annotation for publicLink
to be before the @param annotation for col
Open
Open
* @param array $col Column Display Info - array of array('class'=>'...', 'title'=>'...', 'key'=>'...')
- Exclude checks
TODO found Open
Open
// TODO - return string, not print
- Exclude checks