@@ -41,7 +41,7 @@ |
||
41 | 41 | intval(floor($config['user']['api_key_length'] / 2)) |
42 | 42 | ); |
43 | 43 | |
44 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
44 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
45 | 45 | $this->loadPassword($container, $config['user']['properties']['password']); |
46 | 46 | $this->loadServices($loader); |
47 | 47 | $this->loadApiKeyPurger($container, $loader, $config['api_key_purge']); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function generateHash($password) |
14 | 14 | { |
15 | - $salt = '$6$rounds=3000$'.base64_encode(uniqid()).'$'; |
|
15 | + $salt = '$6$rounds=3000$' . base64_encode(uniqid()) . '$'; |
|
16 | 16 | |
17 | 17 | return crypt($password, $salt); |
18 | 18 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | if (!function_exists('password_hash')) { |
16 | 16 | throw new \RuntimeException( |
17 | - 'In order to use this strategy please install the package "ircmaxell/password-compat" '. |
|
17 | + 'In order to use this strategy please install the package "ircmaxell/password-compat" ' . |
|
18 | 18 | 'or upgrade your php version to 5.5 or higher!' |
19 | 19 | ); |
20 | 20 | } |
@@ -99,7 +99,7 @@ |
||
99 | 99 | $oid = spl_object_hash($user); |
100 | 100 | if (isset($this->lazyValueCache[$oid])) { |
101 | 101 | if (isset($this->lazyValueCache[$oid][$property])) { |
102 | - return $this>$this->lazyValueCache[$oid][$property]; |
|
102 | + return $this > $this->lazyValueCache[$oid][$property]; |
|
103 | 103 | } |
104 | 104 | } else { |
105 | 105 | $this->lazyValueCache[$oid] = array(); |