@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function getBuilder(Specification $spec) |
| 41 | 41 | { |
| 42 | - if(!isset($this->builders[get_class($spec)])) { |
|
| 42 | + if (!isset($this->builders[get_class($spec)])) { |
|
| 43 | 43 | throw new \OutOfRangeException(sprintf( |
| 44 | 44 | 'Builder for Specification "%s" not registred', |
| 45 | 45 | get_class($spec) |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | throw new \InvalidArgumentException(); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - $firstPartBuilder = $this->registry |
|
| 39 | + $firstPartBuilder = $this->registry |
|
| 40 | 40 | ->getBuilder($spec->getFirstPart()) |
| 41 | 41 | ; |
| 42 | 42 | |