code: protected function fixTable(
          $table,
          /*# string */ $tableAlias = ''
      )/*# : array */ {
          if (empty($table)) {
              $table = [];
          } else {
              if (!is_array($table)) {
                  $table = empty($tableAlias) ? [$table] :
                  [$table => $tableAlias];
              }
          }
          return $table;
      }
docs: fix table notation
  
  @param  mixed $table
  @param  string $tableAlias
  @return array
  @access protected