Skip to content

Commit f6e8e6c

Browse files
committed
formatting
1 parent 38c860e commit f6e8e6c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

EncryptionServiceProvider.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ public function register()
3838
protected function key(array $config)
3939
{
4040
return tap($config['key'], function ($key) {
41-
throw_if(empty($key), new RuntimeException(
42-
'No application encryption key has been specified.'
43-
));
41+
if (empty($key)) {
42+
throw new RuntimeException(
43+
'No application encryption key has been specified.'
44+
);
45+
}
4446
});
4547
}
4648
}

0 commit comments

Comments
 (0)