Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Return by reference already in function signature

git-svn-id: http://svn.php.net/repository/pear/packages/LiveUser/trunk@275349 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 792dd931959c2bba2e84695cc03714ac9b4627c4 1 parent 861f662
@CloCkWeRX CloCkWeRX authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 LiveUser.php
View
8 LiveUser.php
@@ -473,7 +473,7 @@ function &factory(&$conf)
$obj->readConfig($conf);
}
- return &$obj;
+ return $obj;
}
/**
@@ -579,7 +579,7 @@ function &authFactory(&$conf, $containerName, $classprefix = 'LiveUser_')
$auth = false;
}
}
- return &$auth;
+ return $auth;
}
/**
@@ -603,7 +603,7 @@ function &permFactory(&$conf, $classprefix = 'LiveUser_')
}
}
- return &$perm;
+ return $perm;
}
/**
@@ -650,7 +650,7 @@ function &storageFactory(&$confArray, $classprefix = 'LiveUser_Perm_')
if ($storage->init($storageConf, $newConfArray) === false) {
$storage = false;
}
- return &$storage;
+ return $storage;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.