Commit b712f39 1 parent ead918a commit b712f39 Copy full SHA for b712f39
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -228,12 +228,12 @@ var_dump($analyzer->analyze($closure));
228
228
229
229
### Signing Closures
230
230
231
- Version 2.1 of SuperClosure allows you to specify a signing key, when you
231
+ Version 2.1+ of SuperClosure allows you to specify a signing key, when you
232
232
instantiate the Serializer. Doing this will configure your Serializer to
233
233
sign any closures you serialize and verify the signatures of any closures
234
234
you unserialize. Doing this can help protect you from code injection attacks
235
235
that could potentially happen if someone tampered with a serialized closure.
236
- _ Remember to keep you signing key secret_ .
236
+ _ Remember to keep your signing key secret_ .
237
237
238
238
``` php
239
239
$serializer1 = new SuperClosure\Serializer(null, $yourSecretSigningKey);
You can’t perform that action at this time.
0 commit comments