mirror of
https://github.com/danog/parallel-functions.git
synced 2024-12-02 09:37:56 +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
|
* @expectedExceptionMessage Serialization of closure failed
|
||||||
*/
|
*/
|
||||||
public function testUnserializableClosure() {
|
public function testUnserializableClosure() {
|
||||||
$unserializable = new class {};
|
$unserializable = new class {
|
||||||
|
};
|
||||||
$callable = parallel(function () use ($unserializable) {
|
$callable = parallel(function () use ($unserializable) {
|
||||||
return 1;
|
return 1;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user