@@ 52-56 (lines=5) @@ | ||
49 | $this->faceValidator->validate($grid, $facePath); |
|
50 | } |
|
51 | } |
|
52 | if (!empty($missingFaces)) { |
|
53 | $message = 'Following faces were not found: ' . |
|
54 | implode(', ', $missingFaces); |
|
55 | throw new ValidationException($message); |
|
56 | } |
|
57 | if (!empty($extraFaces)) { |
|
58 | $message = 'Following extra faces were found: ' . |
|
59 | implode(', ', $extraFaces); |
|
@@ 57-61 (lines=5) @@ | ||
54 | implode(', ', $missingFaces); |
|
55 | throw new ValidationException($message); |
|
56 | } |
|
57 | if (!empty($extraFaces)) { |
|
58 | $message = 'Following extra faces were found: ' . |
|
59 | implode(', ', $extraFaces); |
|
60 | throw new ValidationException($message); |
|
61 | } |
|
62 | } |
|
63 | } |
|
64 |