@@ -15,6 +15,9 @@ |
||
15 | 15 | $this->throwImmutable(sprintf($msg, static::class)); |
16 | 16 | } |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $msg |
|
20 | + */ |
|
18 | 21 | protected function throwImmutable($msg, $errorCode = null) |
19 | 22 | { |
20 | 23 | throw new ImmutableCollectionException($msg, $errorCode); |