Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Can't get why php unable to parse this code

$
0
0
class QuestionTagTable extends Doctrine_Table
{
    public function getRelatedTags(array $tags, $limit = sfConfig::get('app_tags_on_sidebar'))
    {
   
    }
}

PHP reports Parse error: syntax error, unexpected '(', expecting ')' on line 

public function getRelatedTags(array $tags, $limit = sfConfig::get('app_tags_on_sidebar'))

Viewing all articles
Browse latest Browse all 13200

Trending Articles