@@ -26,10 +26,10 @@ |
||
26 | 26 | public function invalidSha256Provider() |
27 | 27 | { |
28 | 28 | return [ |
29 | - [null], |
|
30 | - [$this->faker()->md5], |
|
31 | - [$this->faker()->sha1], |
|
32 | - [$this->faker()->text], |
|
29 | + [ null ], |
|
30 | + [ $this->faker()->md5 ], |
|
31 | + [ $this->faker()->sha1 ], |
|
32 | + [ $this->faker()->text ], |
|
33 | 33 | ]; |
34 | 34 | } |
35 | 35 |
@@ -26,10 +26,10 @@ |
||
26 | 26 | public function invalidSha1Provider() |
27 | 27 | { |
28 | 28 | return [ |
29 | - [null], |
|
30 | - [$this->faker()->md5], |
|
31 | - [$this->faker()->sha256], |
|
32 | - [$this->faker()->text], |
|
29 | + [ null ], |
|
30 | + [ $this->faker()->md5 ], |
|
31 | + [ $this->faker()->sha256 ], |
|
32 | + [ $this->faker()->text ], |
|
33 | 33 | ]; |
34 | 34 | } |
35 | 35 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | protected function guard($value) |
16 | 16 | { |
17 | - if (false === (bool)preg_match('/^[a-f0-9]{32}$/', $value)) { |
|
17 | + if (false === (bool) preg_match('/^[a-f0-9]{32}$/', $value)) { |
|
18 | 18 | throw new InvalidMd5Exception($value); |
19 | 19 | } |
20 | 20 | } |