@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function check($value, $hashedValue, array $options = array()) |
38 | 38 | { |
39 | - if ( strlen($hashedValue) <= 32 ) { |
|
39 | + if (strlen($hashedValue) <= 32) { |
|
40 | 40 | return $hashedValue == md5($value); |
41 | 41 | } |
42 | 42 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $query = $this->createModel()->newQuery(); |
27 | 27 | |
28 | 28 | foreach ($credentials as $key => $value) { |
29 | - if (! Str::contains($key, 'user_pass')) { |
|
29 | + if (!Str::contains($key, 'user_pass')) { |
|
30 | 30 | $query->where($key, $value); |
31 | 31 | } |
32 | 32 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | ); |
34 | 34 | }); |
35 | 35 | |
36 | - $this->app->singleton('wordpress-hash', function ($app) |
|
36 | + $this->app->singleton('wordpress-hash', function($app) |
|
37 | 37 | { |
38 | 38 | $iteration_count = $app['config']->get('wordpress-hash.hash.iteration_count'); |
39 | 39 | $portable_hashes = $app['config']->get('wordpress-hash.hash.portable_hashes'); |