Skip to content

Commit

Permalink
Fix some checkstyle FunctionDeclaration NotAtEnd warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetx committed Apr 29, 2012
1 parent 6839781 commit fd6a962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libraries/List_Database.class.php
Expand Up @@ -330,7 +330,7 @@ public function getLimitedItems($offset, $count)
*
* @return string html code list
*/
public function getHtmlListGrouped($selected = '', $offset, $count)
public function getHtmlListGrouped($selected = '', $offset = 0, $count = 0)
{
if (true === $selected) {
$selected = $this->getDefault();
Expand Down Expand Up @@ -386,7 +386,7 @@ public function getHtmlListGrouped($selected = '', $offset, $count)
*
* @return string html code select
*/
public function getHtmlSelectGrouped($selected = '', $offset, $count)
public function getHtmlSelectGrouped($selected = '', $offset = 0, $count = 0)
{
if (true === $selected) {
$selected = $this->getDefault();
Expand Down
2 changes: 1 addition & 1 deletion libraries/Table.class.php
Expand Up @@ -383,7 +383,7 @@ static public function sGetStatusInfo($db, $table, $info = null, $force_read = f
static function generateFieldSpec($name, $type, $length = '', $attribute = '',
$collation = '', $null = false, $default_type = 'USER_DEFINED',
$default_value = '', $extra = '', $comment = '',
&$field_primary, $index, $default_orig, $move_to
&$field_primary = null, $index, $default_orig, $move_to
) {
$is_timestamp = strpos(strtoupper($type), 'TIMESTAMP') !== false;

Expand Down

0 comments on commit fd6a962

Please sign in to comment.