|
@@ -112,9 +112,9 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
} |
Please login to merge, or discard this patch.