Skip to content

Commit

Permalink
Gallery3::factory should be defined as static.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Almdal committed Feb 11, 2010
1 parent 7558feb commit 8680715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/Gallery3.php
Expand Up @@ -49,7 +49,7 @@ static function login($url, $user, $pass) {
* @param string authentication token
* @return object Gallery3
*/
public function factory($url=null, $token=null) {
static function factory($url=null, $token=null) {
$obj = new Gallery3();
$obj->token = $token;
$obj->url = $url;
Expand Down

0 comments on commit 8680715

Please sign in to comment.