@@ -112,9 +112,9 @@ discard block |
||
112 | 112 | |
113 | 113 | if (func_num_args() == 1) { |
114 | 114 | if (is_null($this->parent)) { |
115 | - throw new Exception('Cannot create ' . __CLASS__ . ' with explicitly null $parent class.'); |
|
115 | + throw new Exception('Cannot create '.__CLASS__.' with explicitly null $parent class.'); |
|
116 | 116 | } elseif (!$this->parent instanceof Reader && !$this->parent instanceof Writer) { |
117 | - throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($this->parent)); |
|
117 | + throw new Exception('Cannot create '.__CLASS__.' with $parent class: '.get_class($this->parent)); |
|
118 | 118 | } |
119 | 119 | } |
120 | 120 | |
@@ -308,6 +308,6 @@ discard block |
||
308 | 308 | return null; |
309 | 309 | } |
310 | 310 | |
311 | - throw new Exception('Function "' . $function . '" must be overridden by parent SecurityTxtInterface before being called.'); |
|
311 | + throw new Exception('Function "'.$function.'" must be overridden by parent SecurityTxtInterface before being called.'); |
|
312 | 312 | } |
313 | 313 | } |