Stronger typing, require array where param array

This commit is contained in:
Mikael Nordfeldth
2013-08-29 10:27:39 +02:00
parent fac7371179
commit b3e61ce7d0
8 changed files with 21 additions and 21 deletions

View File

@@ -260,7 +260,7 @@ class User extends Managed_DataObject
* ?string 'uri' permalink to notice; defaults to local notice URL
* @return mixed User object or false on failure
*/
static function register($fields) {
static function register(array $fields) {
// MAGICALLY put fields into current scope