@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | $expr |
| 385 | 385 | ->expects($this->once()) |
| 386 | 386 | ->method('equals') |
| 387 | - ->with($this->callback(function ($parameter) use ($regex) { |
|
| 387 | + ->with($this->callback(function($parameter) use ($regex) { |
|
| 388 | 388 | return $parameter instanceof \MongoRegex && (string) $parameter === $regex; |
| 389 | 389 | })) |
| 390 | 390 | ->will($this->returnSelf()); |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | $expr |
| 412 | 412 | ->expects($this->once()) |
| 413 | 413 | ->method('not') |
| 414 | - ->with($this->callback(function ($parameter) use ($regex) { |
|
| 414 | + ->with($this->callback(function($parameter) use ($regex) { |
|
| 415 | 415 | return $parameter instanceof \MongoRegex && (string) $parameter === $regex; |
| 416 | 416 | })) |
| 417 | 417 | ->will($this->returnSelf()); |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | ->method('replaceArgument') |
| 62 | 62 | ->with( |
| 63 | 63 | $this->identicalTo(0), |
| 64 | - $this->callback(function ($reference) { |
|
| 64 | + $this->callback(function($reference) { |
|
| 65 | 65 | return $reference instanceof Reference |
| 66 | 66 | && (string) $reference === 'lug.resource.routing.parameter_resolver'; |
| 67 | 67 | }) |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | */ |
| 178 | 178 | private function createClassNode($name, $class, array $interfaces = [], $required = false) |
| 179 | 179 | { |
| 180 | - return $this->createNode($name, 'scalar', $class, function ($class) use ($interfaces, $required) { |
|
| 180 | + return $this->createNode($name, 'scalar', $class, function($class) use ($interfaces, $required) { |
|
| 181 | 181 | if ($class === null) { |
| 182 | 182 | return $required; |
| 183 | 183 | } |