Completed
Push — master ( abec3a...7e1653 )
by Hannes
02:00
created
src/ExampleFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
             $name = $this->readName($def['annotations']) ?: (string)($index + 1);
38 38
 
39 39
             if (isset($examples[$name])) {
40
-                throw new \RuntimeException("Example '$name' already exists in definition " . ($index + 1));
40
+                throw new \RuntimeException("Example '$name' already exists in definition ".($index + 1));
41 41
             }
42 42
 
43 43
             if ($extends = $this->shouldExtendExample($def['annotations'])) {
44 44
                 if (!isset($examples[$extends])) {
45 45
                     throw new \RuntimeException(
46
-                        "Example '$extends' does not exist and can not be extended in definition " . ($index + 1)
46
+                        "Example '$extends' does not exist and can not be extended in definition ".($index + 1)
47 47
                     );
48 48
                 }
49 49
 
Please login to merge, or discard this patch.