Skip to content

Commit a7d22e1

Browse files
author
Nassim
committed
Removed extra spaces on is_dir check
1 parent dd6cae4 commit a7d22e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/custom_authentication_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ the ``PasswordDigest`` header value matches with the user's password.
239239
throw new NonceExpiredException('Previously used nonce detected');
240240
}
241241
// If cache directory does not exist we create it
242-
if ( !is_dir($this->cacheDir) ) {
242+
if (!is_dir($this->cacheDir)) {
243243
mkdir($this->cacheDir, 0777, true);
244244
}
245245
file_put_contents($this->cacheDir.'/'.$nonce, time());

0 commit comments

Comments
 (0)