mirror of
https://github.com/danog/parallel-functions.git
synced 2024-11-29 20:29:15 +01:00
Fix code style
This commit is contained in:
parent
a3d89f6582
commit
96c5ee7bae
@ -11,7 +11,8 @@ class ParallelTest extends TestCase {
|
||||
* @expectedExceptionMessage Serialization of closure failed
|
||||
*/
|
||||
public function testUnserializableClosure() {
|
||||
$unserializable = new class {};
|
||||
$unserializable = new class {
|
||||
};
|
||||
$callable = parallel(function () use ($unserializable) {
|
||||
return 1;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user